OSDN Git Service

2004-11-12 Mark Mitchell <mark@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / abi / mangle14.C
1 // { dg-do compile }
2 // { dg-options "-Wabi -fabi-version=1" }
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" }