[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / cxx-char-literal.cpp
blob0990517c55be3ceee8c63401c9caae7df5fa4ff3
1 // RUN: %clang_cc1 -emit-pch -std=c++1z -o %t %s
2 // RUN: %clang_cc1 -std=c++1z -x ast -ast-print %t | FileCheck %s
4 // Ensure that character literals are properly surfaced through PCH.
6 char a = '0';
7 // CHECK: char a = '0';
9 char b = L'1';
10 // CHECK: char b = L'1';
12 char c = u8'2';
13 // CHECK: char c = u8'2';
15 char d = U'3';
16 // CHECK: char d = U'3';
18 char e = u'4';
19 // CHECK: char e = u'4';