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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [mangle50.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// DR 342, PR c++/48582
2
// { dg-options -std=c++0x }
3
 
4
struct A;
5
template < void * = nullptr > void f() { }
6
template < void (A::*)() = nullptr > void g() { }
7
template < int A::* = nullptr > void h() { }
8
 
9
int main()
10
{
11
  // { dg-final { scan-assembler "_Z1fILPv0EEvv" } }
12
  f();
13
  f();
14
 
15
  // { dg-final { scan-assembler "_Z1gILM1AFvvE0EEvv" } }
16
  g();
17
  g();
18
 
19
  // { dg-final { scan-assembler "_Z1fILPv0EEvv" } }
20
  h();
21
  h();
22
 
23
  constexpr void * ptr = nullptr;
24
  f();
25
}

powered by: WebSVN 2.1.0

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