* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / udlit-args-neg.C
blobd8d672e57478324f7037245a798f2176ca59b450
1 // { dg-do compile { target c++11 } }
3 #include <cstddef>
5 class Foo { };
7 int
8 operator"" _Foo();      // { dg-error "has invalid argument list" }
10 Foo
11 operator"" _Foo(int *); // { dg-error "has invalid argument list" }
13 Foo
14 operator"" _Foo(unsigned long int);     // { dg-error "has invalid argument list" }
16 Foo
17 operator"" _Foo(double);        // { dg-error "has invalid argument list" }
19 Foo
20 operator"" _Foo(const float *, std::size_t);    // { dg-error "has invalid argument list" }
22 Foo
23 operator"" _Foo(const wchar_t *, int);  // { dg-error "has invalid argument list" }
25 Foo
26 operator"" _Foo(const char16_t *);      // { dg-error "has invalid argument list" }
28 Foo
29 operator"" _Foo(char...);       // { dg-error "has invalid argument list" }
31 Foo
32 operator"" _Foo(unsigned long long int, char);  // { dg-error "has invalid argument list" }
34 Foo
35 operator"" _Foo(const char *, std::size_t, int);        // { dg-error "has invalid argument list" }
37 Foo
38 operator"" _Foo(long double &); // { dg-error "has invalid argument list" }
40 Foo
41 operator"" _Foo(std::size_t, const char16_t *); // { dg-error "has invalid argument list" }