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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
mangle14.C
blob
8e2bfddde76aeba857f0b6232d0fbd59ad88ba9f
1
// { dg-do compile }
2
// { dg-options "-Wabi" }
3
4
struct A {
5
template <typename T> int f ();
6
};
7
8
typedef int (A::*P)();
9
10
template <P> struct S {};
11
12
void g (S<&A::f<int> >) {} // { dg-warning "mangle" }