repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2013-05-29 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
mangle14.C
blob
2b38255ac0ad4101bb4634f4c99516ba7aa9c5cb
1
// { dg-do compile }
2
// { dg-options "-Wabi -fabi-version=1" }
3
// { dg-final { scan-assembler "_Z1g1SIXadsr1ANS0_1fIiEEivEE" } }
4
5
struct A {
6
template <typename T> int f ();
7
};
8
9
typedef int (A::*P)();
10
11
template <P> struct S {};
12
13
void g (S<&A::f<int> >) {} // { dg-warning "mangle" }