2 // { dg-options "-fabi-version=2" }
4 // Copyright (C) 2003 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 30 Nov 2003 <nathan@codesourcery.com>
8 // mangled template arguments that are external objects incorrectly
10 extern "C" void Foo ();
16 template <void (*)()> struct S {};
17 template <int *> struct T {};
20 // { dg-final { scan-assembler "\n_?_Z1f1SIXadL_Z3FooEEE\[: \t\n\]" } }
23 // { dg-final { scan-assembler "\n_?_Z1g1TIXadL_Z1VEEE\[: \t\n\]" } }