blob: a057dc0d374d91fa5629c4b85d2f58da82b9a491 (
plain)
1
2
3
4
5
6
7
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
// rdar://10381507
typedef enum : long { Foo } IntegerEnum;
int arr[(sizeof(typeof(Foo)) == sizeof(typeof(IntegerEnum))) - 1];
int arr1[(sizeof(typeof(Foo)) == sizeof(typeof(long))) - 1];
int arr2[(sizeof(typeof(IntegerEnum)) == sizeof(typeof(long))) - 1];
|