blob: a057dc0d374d91fa5629c4b85d2f58da82b9a491 [file] [log] [blame]
Fariborz Jahanian3b252162011-11-04 18:51:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2// rdar://10381507
3
4typedef enum : long { Foo } IntegerEnum;
5int arr[(sizeof(typeof(Foo)) == sizeof(typeof(IntegerEnum))) - 1];
6int arr1[(sizeof(typeof(Foo)) == sizeof(typeof(long))) - 1];
7int arr2[(sizeof(typeof(IntegerEnum)) == sizeof(typeof(long))) - 1];