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
PR c++/8442, c++/8806
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.niklas
/
t140.C
1
// { dg-do run }
2
// GROUPS passed niklas hiding local-types
3
extern "C" int printf (const char*, ...);
4
int val = 1;
5
void S () { printf ("FAIL\n"); }
6
void f () { printf ("PASS\n"); val = 0; }
7
int main ()
8
{
9
struct S { S () { f (); } };
10
S ();
11
return val;
12
}