blob: 0426b8f361d423d61a3dfd481dff42f2b475b93d [file] [log] [blame]
// PR c++/48118
struct A { };
void f (A); // { dg-message "" }
void (*g)(A);
int main()
{
volatile A a;
f(a); // { dg-error "" }
g(a); // { dg-error "" }
}