Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/cpp0x/pr42844-2.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
32 Derived3() = default; // { dg-message "not user-provided" } | 32 Derived3() = default; // { dg-message "not user-provided" } |
33 }; | 33 }; |
34 | 34 |
35 void f() | 35 void f() |
36 { | 36 { |
37 const A a; // { dg-error "uninitialized const" } | 37 const A a; // { dg-error "uninitialized 'const" } |
38 const Derived d; // { dg-error "uninitialized const" } | 38 const Derived d; // { dg-error "uninitialized 'const" } |
39 const Derived2 d2; // { dg-error "uninitialized const" } | 39 const Derived2 d2; // { dg-error "uninitialized 'const" } |
40 const Derived3 d3; // { dg-error "uninitialized const" } | 40 const Derived3 d3; // { dg-error "uninitialized 'const" } |
41 } | 41 } |