1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s 3 4 // Check types of char literals 5 extern char a; 6 extern __typeof('a') a; 7 extern int b; 8 extern __typeof('asdf') b; 9 extern wchar_t c; 10 extern __typeof(L'a') c; 11 #if __cplusplus >= 201103L 12 extern char16_t d; 13 extern __typeof(u'a') d; 14 extern char32_t e; 15 extern __typeof(U'a') e; 16 #endif 17