1// { dg-do assemble  }
2// Origin: Mark Mitchell <mark@codesourcery.com>
3
4struct S
5{
6  ~S();
7};
8
9inline void f()
10{
11  static S s;
12  atexit (0); // { dg-error "" } implicit declaration
13}
14
15
16
17