Add execution tests of ARM EXT intrinsics
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / defaulted10.C
blob853726862135f50604491a4e73aed7a209b46d97
1 // PR c++/40381
2 // { dg-do compile { target c++11 } }
4 struct A
6   template<typename T> void foo(T) = delete; // { dg-error "previously|declared" }
7 };
9 template<typename T> void A::foo(T) {} // { dg-error "redefinition" }
11 void bar()
13   A().foo(0);                   // { dg-error "use" }