diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/enum7.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/enum7.C | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/enum7.C b/gcc/testsuite/g++.old-deja/g++.jason/enum7.C deleted file mode 100644 index 0f683047aec..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/enum7.C +++ /dev/null @@ -1,15 +0,0 @@ -// Yet Another testcase for signed/unsigned enums. -// Build don't link: - -enum A { AA = 0, AB = 1}; -enum B { BA = -1, BB = 1}; - -void set(int a); -void set(long a); - -void -foo() -{ - set(AA); // gets bogus error - why is this ambiguous - set(BA); // when this is not amibguous -} |