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
/
noeffect8.C
1
// PR c++/26696, 28996
2
// { dg-do compile }
3
// { dg-options "-Waddress" }
4
5
struct A
6
{
7
static void f() {}
8
};
9
10
int main()
11
{
12
A a;
13
a.f; // { dg-warning "not call" }
14
A().f; // { dg-warning "not call" }
15
}