aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ref1.C
blob: 3f133d488f5d1f8f2164568e7e8c086f419ba649 (plain)
1
2
3
class a {} a1;
template <a & p> class b { public: b() { static_cast <a &> (p); }; };
int main() { b <a1> b1; };