aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C
blob: 524216ad5c07b0bcde6f87fed63c841fbcf9cb08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Origin: PR c++/51032
// { dg-do compile { target c++11 } }
// { dg-skip-if "No stabs" { aarch64*-*-* mmix-*-* *-*-aix* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* nios2-*-* } { "*" } { "" } }
// { dg-options "-gstabs+" }

template <class C>
struct A {
    template<class U> using B = U*;
    int a;
};

A<int> a;