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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic2.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=gnu++0x" }
2
template // { dg-error "default argument" }
3
class tuple2;
4
 
5
template // { dg-error "default argument" }
6
class tuple3;
7
 
8
template
9
struct two_or_more {}; // { dg-error "provided for" }
10
 
11
typedef two_or_more bad; // { dg-error "2 or more" }
12
// { dg-error "invalid type" "" { target *-*-* } 11 }
13
 
14
void f()
15
{
16
  two_or_more z = 5; // { dg-error "two_or_more" }
17
}

powered by: WebSVN 2.1.0

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