1 // PR c++/48166 2 3 struct foo { 4 static void func (); 5 }; func()6 void foo::func () const {} // { dg-error "type qualifiers" } 7