blob: 6ff4db3a3b6939e3636507e225f959375912f52a (
plain)
1
2
3
4
5
6
7
8
9
|
// { dg-options "-fshow-column" }
//PR c++/28260
template<int> struct A
{
friend int foo(); // { dg-error "14:ambiguating new declaration" }
};
void foo() { A<0> a; } // { dg-message "6:old declaration" }
|