Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / enum7.C
blob38720efbaa19a41cdc51539598c0598b647445fd
1 // { dg-do assemble  }
2 // Yet Another testcase for signed/unsigned enums.
4 enum A { AA = 0, AB = 1};
5 enum B { BA = -1, BB = 1};
7 void set(int a);
8 void set(long a);
10 void
11 foo()
13         set(AA);        // { dg-bogus "" } why is this ambiguous
14         set(BA);        // when this is not amibguous