Daniel Dunbar | aa1f9f1 | 2008-08-28 18:42:20 +0000 | [diff] [blame^] | 1 | // RUN: clang -verify -fsyntax-only -std=c90 %s && |
2 | // RUN: clang -verify -fsyntax-only -std=c99 %s | ||||
3 | |||||
Daniel Dunbar | 9048891 | 2008-08-28 18:02:04 +0000 | [diff] [blame] | 4 | int f (int x) |
5 | { | ||||
6 | // sizeof applied to a type should not delete the type. | ||||
7 | return sizeof (int[x]); | ||||
8 | } |