blob: 3d588d63b4ccf432df89bb7d0a058fa6f07d73b3 [file] [log] [blame]
Argyrios Kyrtzidisc577a0e2008-06-12 12:40:02 +00001// RUN: not clang %s -std=c90 &&
Chris Lattnera36ce712007-08-22 05:16:28 +00002// RUN: clang %s -std=c99
3
4int f (int z) {
5 if (z + sizeof (enum {a}))
6 return 1 + sizeof (enum {a});
7 return 0;
8}