1 struct A { 2 A(...); 3 }; 4 main()5 int main() 6 { 7 volatile A a; 8 volatile A a2(a); // { dg-error "volatile" } 9 } 10