summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/enum5.C
blob: a05d4d3465fe0a6427bd91e8e01917a2b7b5dd3f (plain)
1
2
3
4
5
6
7
8
9
// { dg-do run  }
enum { a = 1 };

int main(void)
{
  int l = -1;

  return ! (l < a);		// testcase fails if a is unsigned
}