Argyrios Kyrtzidis | c577a0e | 2008-06-12 12:40:02 +0000 | [diff] [blame] | 1 | // RUN: not clang %s -std=c90 && |
Chris Lattner | a36ce71 | 2007-08-22 05:16:28 +0000 | [diff] [blame] | 2 | // RUN: clang %s -std=c99 |
3 | |||||
4 | int f (int z) { | ||||
5 | if (z + sizeof (enum {a})) | ||||
6 | return 1 + sizeof (enum {a}); | ||||
7 | return 0; | ||||
8 | } |