OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [udlit-args-neg.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options -std=c++0x }
2
 
3
#include 
4
 
5
class Foo { };
6
 
7
int
8
operator"" _Foo();      // { dg-error "has invalid argument list" }
9
 
10
Foo
11
operator"" _Foo(int *); // { dg-error "has invalid argument list" }
12
 
13
Foo
14
operator"" _Foo(unsigned long int);     // { dg-error "has invalid argument list" }
15
 
16
Foo
17
operator"" _Foo(double);        // { dg-error "has invalid argument list" }
18
 
19
Foo
20
operator"" _Foo(const float *, std::size_t);    // { dg-error "has invalid argument list" }
21
 
22
Foo
23
operator"" _Foo(const wchar_t *, int);  // { dg-error "has invalid argument list" }
24
 
25
Foo
26
operator"" _Foo(const char16_t *);      // { dg-error "has invalid argument list" }
27
 
28
Foo
29
operator"" _Foo(char...);       // { dg-error "has invalid argument list" }
30
 
31
Foo
32
operator"" _Foo(unsigned long long int, char);  // { dg-error "has invalid argument list" }
33
 
34
Foo
35
operator"" _Foo(const char *, std::size_t, int);        // { dg-error "has invalid argument list" }
36
 
37
Foo
38
operator"" _Foo(long double &);   // { dg-error "has invalid argument list" }
39
 
40
Foo
41
operator"" _Foo(std::size_t, const char16_t *); // { dg-error "has invalid argument list" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.