1// { dg-do assemble  }
2// Yet Another testcase for signed/unsigned enums.
3
4enum A { AA = 0, AB = 1};
5enum B { BA = -1, BB = 1};
6
7void set(int a);
8void set(long a);
9
10void
11foo()
12{
13	set(AA);	// { dg-bogus "" } why is this ambiguous
14	set(BA);	// when this is not amibguous
15}
16