summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/enum2.C
blob: 2991af6ca24168c106ebee2bfd051c79dbc8ab6d (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }

enum tristate { no = -1, maybe, yes };

void foobar ()
{
  tristate var = no;		// { dg-bogus "" } 
}