summaryrefslogtreecommitdiffstats
path: root/test/CXX/lex/lex.literal/lex.ccon/p1.cpp
blob: 7b65f7ee8320bedf95c2083ef926954c587d824d (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -fsyntax-only -verify %s

// Check types of char literals
extern char a;
extern __typeof('a') a;
extern int b;
extern __typeof('asdf') b;
extern wchar_t c;
extern __typeof(L'a') c;
OpenPOWER on IntegriCloud