diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/mangle1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/mangle1.C | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/mangle1.C b/gcc/testsuite/g++.old-deja/g++.other/mangle1.C deleted file mode 100644 index 0ffc5d1a262..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.other/mangle1.C +++ /dev/null @@ -1,42 +0,0 @@ -// Test for proper mangling by setting up name clashes. -// Special g++ Options: -fno-squangle - -class A { }; -typedef A A2; -typedef int I; -typedef void V; -typedef I I2; - -void f (const A2&, int, const A2&, const A&) { } // ERROR - name clash -int f__FRC1AiT0T0 = 0; // ERROR - name clash - -void f (int, long, int, I) { } // ERROR - name clash -int f__Filii = 0; // ERROR - name clash - -void f (I, float, I, I2) { } // ERROR - name clash -int f__Fifii = 0; // ERROR - name clash - -void f (void*, float, void*, V*) { } // ERROR - name clash -int f__FPvfT0T0 = 0; // ERROR - name clash - -void f (wchar_t) { } // ERROR - name clash -int f__Fw = 0; // ERROR - name clash - -void f(int, A, A2, A) { } // ERROR - name clash -int f__FiG1AN21 = 0; // ERROR - name clash - -void f(const A2&, const A2&, const A2&, const A2&, - int&) { } // ERROR - name clash -int f__FRC1AN30Ri = 0; // ERROR - name clash - -void f(const A2&, int, const A2&, const A2&, const A2&, - int&) { } // ERROR - name clash -int f__FRC1AiT0N20Ri = 0; // ERROR - name clash - -void f(const A2&, int, const A2&, const A2&, const A2&, int&, int&, - int&) { } // ERROR - name clash -int f__FRC1AiT0N20RiN25 = 0; // ERROR - name clash - -void f(const A2&, int, const A2&, const A2&, const A2&, int, int, - int) { } // ERROR - name clash -int f__FRC1AiT0N20iii = 0; // ERROR - name clash |