repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
noeffect8.C
blob
48edfdea6855874e80242dacac7254a87aebf23a
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
}