summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ref1.C
blob: 5ac4329d176b5924b6b65dc69b97d996b4905040 (plain)
1
2
3
4
// { dg-prune-output "mangled name" }
class a {} a1;
template <a & p> class b { public: b() { static_cast <a &> (p); } };
int main() { b <a1> b1; }