Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/alias-decl-targ1.C

raw
1 // PR c++/98570
2 // { dg-do compile { target c++11 } }
3
4 template <int> struct b { enum { c }; };
5 template <typename> using i = b<0>;
6
7 template <int> struct d { };
8 template <typename l> d<i<l>::c> m() { }
9 template <typename n> d<i<n*>::c> m() { }