p1.cpp revision 5cee1195584fa8672253139c86e922daeda69b9e
1// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s 2// Runs in c++0x mode so that char16_t and char32_t are available. 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; 11extern char16_t d; 12extern __typeof(u'a') d; 13extern char32_t e; 14extern __typeof(U'a') e; 15