blob: 3c112e263f07c48f0ffb0b646fd4cdbec6d8f692 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { dg-do compile }
// { dg-options "-fabi-version=0" }
struct A {
template <typename T> int f ();
};
typedef int (A::*P)();
template <P> struct S {};
void g (S<&A::f<int> >) {}
// { dg-final { scan-assembler _Z1g1SIXadL_ZN1A1fIiEEivEEE } }
|