blob: cce67d55605c957d141518b6952066187047ccef [file] [log] [blame]
// 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" }