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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic-ex10.C] - Blame information for rev 715

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 struct Tuple { };
3
 
4
Tuple<> t0; // Types contains no arguments
5
Tuple t1; // Types contains one argument: int
6
Tuple t2; // Types contains two arguments: int and float
7
Tuple<0> error; // { dg-error "mismatch" }
8
// { dg-error "expected a type" "" { target *-*-* } 7 }
9
// { dg-error "in declaration" "" { target *-*-* } 7 }

powered by: WebSVN 2.1.0

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