FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / c-inline.C
blob7e90c4ea027aa13b6fc4a7e3349951b897acd091
1 // Bug: the compiler gets hopelessly confused.
2 // Build don't link:
4 #line 1 "c-inline.h"
5 #pragma interface
6 inline double abs (double) { return 0.0; }
7 inline short abs (short) { return 0; }
8 #line 2 "c-inline.C"
9 extern "C" {
10   inline int abs (int) { return 0; } // causes segfault -