slightly improve testcase
authorMatthias Braun <matze@braunis.de>
Sun, 26 Oct 2008 18:04:37 +0000 (18:04 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 26 Oct 2008 18:04:37 +0000 (18:04 +0000)
[r23213]

parsetest/cp_error050.c

index dc1e61e..de456e7 100644 (file)
@@ -1,5 +1,5 @@
 int main(void)
 {
        // This is sizeof of a compound literal, not sizeof a type followed by garbage
-       return !sizeof(int[3]){ 0, 1, 2 };
+       return sizeof(int[]){ 0, 1, 2 } != 3*sizeof(int);
 }