projects
/
platform
/
upstream
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/71465 (ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu...
[platform/upstream/gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Waddress-2.C
1
// PR c++/64877
2
// { dg-options "-Waddress" }
3
4
template<class Derived>
5
struct S
6
{
7
void m() {
8
}
9
10
S()
11
{
12
if (&S<Derived>::Unwrap != &Derived::Unwrap)
13
m();
14
}
15
16
void Unwrap() {
17
}
18
};
19
20
struct T : public S<T>
21
{
22
};
23
24
T t;