150
|
1 // RUN: %clang_cc1 -ast-print -std=c++1z %s -o - | FileCheck %s
|
|
2
|
|
3 char c = u8'1';
|
|
4 char d = '1';
|
|
5 char e = U'1';
|
|
6 char f = L'1';
|
|
7 char g = u'1';
|
|
8
|
|
9 template <char c = u8'1'>
|
|
10 void h();
|
|
11
|
|
12 void i() {
|
|
13 h<u8'2'>();
|
|
14 }
|
|
15
|
|
16 char j = '\xFF';
|
|
17
|
|
18 // CHECK: char c = u8'1';
|
|
19 // CHECK-NEXT: char d = '1';
|
|
20 // CHECK-NEXT: char e = U'1';
|
|
21 // CHECK-NEXT: char f = L'1';
|
|
22 // CHECK-NEXT: char g = u'1';
|
|
23
|
|
24 // CHECK: template <char c = u8'1'>
|
|
25
|
|
26 // CHECK: h<u8'2'>();
|
|
27 // CHECK: char j = '\xff';
|