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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic4.C] - Blame information for rev 320

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-options "-std=gnu++0x" }
2
// { dg-do compile }
3
template
4
class tuple {};
5
 
6
void f_none(tuple<>) {}
7
void f_one(tuple) {}
8
void f_two(tuple) {}
9
void f_nested(tuple, float>) { }
10
 
11
 
12
// { dg-final { scan-assembler "_Z6f_none5tupleIIEE" } }
13
// { dg-final { scan-assembler "_Z5f_one5tupleIIiEE" } }
14
// { dg-final { scan-assembler "_Z5f_two5tupleIIifEE" } }
15
// { dg-final { scan-assembler "_Z8f_nested5tupleIIiS_IIdcEEfEE" } }

powered by: WebSVN 2.1.0

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