Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }