OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / c2.C
1 // PRMS Id: 3134
2 // g++ understands C redeclaration semantics.  Sun CC 2.0.1 doesn't.
3 // Special g++ Options:
4 // Build don't link:
5
6 extern "C" {
7   int foo();
8   int foo(int);
9
10   int bar(int);
11   int bar();
12 }
13
14 main()
15 {
16   foo (1);
17   bar (1);
18 }