* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / init / ctor4-1.C
blob33e58dfec3245b1796bba0f5e2a01391dbdbbbcc
1 // { dg-do compile }
3 class foo {
4 public:
5   foo();
6 };
8 class bar: public foo { // { dg-error "uninitialized" }
9                    // { dg-message "implicitly deleted" "" { target c++11 } .-1 }
10 private:
11   int const a; // { dg-message "should be initialized" }
14 foo::foo() {
17 int main(int argc, char **argv)
19   bar x; // { dg-error "deleted" "" { target c++11 } }
20          // { dg-message "synthesized" "" { target { ! c++11 } } .-1 }