OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / udlit-args.C
1 // { dg-options -std=c++0x }
2
3 #include <cstddef>
4
5 class Foo { };
6
7 Foo
8 operator"" _Foo(const char *);
9
10 Foo
11 operator"" _Foo(unsigned long long int);
12
13 Foo
14 operator"" _Foo(long double);
15
16 Foo
17 operator"" _Foo(char);
18
19 Foo
20 operator"" _Foo(wchar_t);
21
22 Foo
23 operator"" _Foo(char16_t);
24
25 Foo
26 operator"" _Foo(char32_t);
27
28 Foo
29 operator"" _Foo(const char *, std::size_t);
30
31 Foo
32 operator"" _Foo(const wchar_t *, std::size_t);
33
34 Foo
35 operator"" _Foo(const char16_t *, std::size_t);
36
37 Foo
38 operator"" _Foo(const char32_t *, std::size_t);