p1.cpp revision 762bb9d0ad20320b9f97a841dce57ba5e8e48b07
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 5extern char a; 6extern __typeof('a') a; 7extern int b; 8extern __typeof('asdf') b; 9extern wchar_t c; 10extern __typeof(L'a') c; 11#if __cplusplus >= 201103L 12extern char16_t d; 13extern __typeof(u'a') d; 14extern char32_t e; 15extern __typeof(U'a') e; 16#endif 17