1 // PR c++/37906 2 // { dg-options "-std=c++0x" } 3 4 struct b 5 { 6 b() = default; 7 b(const b&) = delete; 8 }; 9 test01()10 void test01() 11 { 12 static_assert(__has_trivial_constructor(b), "default ctor not trivial"); 13 } 14