blob: cce67d55605c957d141518b6952066187047ccef (
plain)
1
2
3
4
5
6
7
8
9
|
// Origin PR c++/51473
// { dg-do compile { target c++11 } }
struct A
{
auto friend struct B; // { dg-error "multiple types|can only be specified|friend" }
};
auto int; // { dg-error "multiple types|can only be specified for variables" }
|