Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
udlit-nonempty-str-neg.C
blob: ddaa1aa6c3e24e0b86b944bcda16a60c1cf50c1d [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// Test user-defined literals.
// Test error on non-empty string after 'operator' keyword.
double
operator
"hi"
_badword
(
long
double
);
// { dg-error "expected empty string after" }