1// { dg-do assemble }2// Yet Another testcase for signed/unsigned enums.34enum A { AA = 0, AB = 1};
5enum B { BA = -1, BB = 1};
67voidset(int a);
8voidset(long a);
910void11foo()
12{
13set(AA); // { dg-bogus "" } why is this ambiguous14set(BA); // when this is not amibguous15}
16