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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=gnu++0x -fabi-version=0" }
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_none5tupleIJEE" } }
13
// { dg-final { scan-assembler "_Z5f_one5tupleIJiEE" } }
14
// { dg-final { scan-assembler "_Z5f_two5tupleIJifEE" } }
15
// { dg-final { scan-assembler "_Z8f_nested5tupleIJiS_IJdcEEfEE" } }

powered by: WebSVN 2.1.0

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