* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / udlit-inline.C
blobfd8b9a05b38671a4512779b7471701a10ca981f0
1 // { dg-do compile { target c++11 } }
3 //  Literal operators can be inline.
5 inline int
6 operator"" _thing1(char cc)
7 { return 42 * cc; }
9 int operator"" _thing2(char cc);
11 class Foo
13   int
14   friend operator"" _thing2(char cc)
15   { return 42 * cc; }
18 int i = operator"" _thing1('x');
19 int j = 'x'_thing1;
21 int iF = operator"" _thing2('x');
22 int jF = 'x'_thing2;