repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
udlit-char-template.C
blob
989b9babd1f61052494552ca01727fd2b5c70d8d
1
// { dg-do compile { target c++14 } }
2
3
template<typename CharT, CharT... String>
4
int
5
operator"" _script()
6
{ return 42; }
7
8
int i = "hi!"_script;
9
int i8 = u8"hi!"_script;
10
int iw = L"hi!"_script;
11
int i16 = u"hi!"_script;
12
int i32 = U"hi!"_script;