Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/static5.C

raw
1 // { dg-do assemble }
2 // Origin: Mark Mitchell <[email protected]>
3
4 struct S
5 {
6 ~S();
7 };
8
9 inline void f()
10 {
11 static S s;
12 atexit (0); // { dg-error "3:'atexit' was not declared" } implicit declaration
13 }
14
15
16