Fariborz Jahanian | 3b25216 | 2011-11-04 18:51:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 | // rdar://10381507 | ||||
3 | |||||
4 | typedef enum : long { Foo } IntegerEnum; | ||||
5 | int arr[(sizeof(typeof(Foo)) == sizeof(typeof(IntegerEnum))) - 1]; | ||||
6 | int arr1[(sizeof(typeof(Foo)) == sizeof(typeof(long))) - 1]; | ||||
7 | int arr2[(sizeof(typeof(IntegerEnum)) == sizeof(typeof(long))) - 1]; |