| 1 |
// PR c++/70413 |
| 2 |
// { dg-do compile { target c++11 } } |
| 3 |
// { dg-final { scan-assembler-not "(weak|glob)\[^\n\]*_Z" { xfail powerpc-*-aix* } } } |
| 4 |
|
| 5 |
namespace { |
| 6 |
template<class> struct A; |
| 7 |
} |
| 8 |
|
| 9 |
template<template<class> class Q> void f() { } |
| 10 |
|
| 11 |
int main() { |
| 12 |
f<A>(); |
| 13 |
} |