OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
noeffect8.C
1
// PR c++/26696, 28996
2
3
struct A
4
{
5
static void f() {}
6
};
7
8
int main()
9
{
10
A a;
11
a.f; // { dg-warning "not call" }
12
A().f; // { dg-warning "not call" }
13
}