Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist9.C
blobbb6414c622813f46561b8bb862fe6b8d99ccc034
1 // PR c++/37860
2 // { dg-do compile { target c++11 } }
4 struct b
6   bool t;
8   b() = default;
9   ~b() = default;
10   b& operator=(const b&) = delete;
11   b(const b&) = delete;         // { dg-message "declared" }
13   b(bool _t): t (_t) { }
16 int main()
18   // copy list initialization
19   b tst1 = { false };
21   // copy initialization.
22   b tst2 = false;               // { dg-error "use" }
24   // direct list initialization
25   b tst3 { false };
27   // default initialization
28   b tst4;