Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
static5.C
blob: 50e5c4acb0e158ec679216b20a826a35cf41fbe4 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: Mark Mitchell <mark@codesourcery.com>
struct
S
{
~
S
();
};
inline
void
f
()
{
static
S s
;
atexit
(
0
);
// { dg-error "3:'atexit' was not declared" } implicit declaration
}