* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / udlit-member-neg.C
blobb6820661e22c391657caca7d2708f8da08c62c7a
1 // { dg-do compile { target c++11 } }
3 class Foo
5 public:
6   Foo() { }
7   int operator"" _Bar(char32_t);  // { dg-error "must be a non-member function" }
8 };
10 int i = operator"" _Bar(U'x');  // { dg-error "9:'operator\"\"_Bar' was not declared in this scope" }
11 int j = U'x'_Bar;  // { dg-error "unable to find character literal operator" }
13 int
14 Foo::operator"" _Bar(char32_t)  // { dg-error "must be a non-member function" }
15 { return 42; }