repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pretty-print: Fix up allocate_object
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
static5.C
blob
50e5c4acb0e158ec679216b20a826a35cf41fbe4
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
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