// RUN: %clang_cc1 -std=c++11 -verify %s
;
int a = .n; // expected-error {{no matching constructor}}
;
int b = .n; // expected-error {{call to deleted}}
;
int c = .b.n; // expected-error {{call to implicitly-deleted default}}
;
int d = .b.n; // expected-error {{call to implicitly-deleted default}}
;
int e = .n; // ok
;
int f = .n; // ok
;
int g = .f.n; // expected-error {{call to implicitly-deleted default}}
;
int h = .n; // expected-error {{private constructor}}
;
int i = .h.n; // expected-error {{call to implicitly-deleted default}}
;
int j1 = .n; // ok
int j2 = .; // ok
;
int k1 = .j.n; // expected-error {{call to implicitly-deleted default}}
int k2 = .j.; // expected-error {{call to implicitly-deleted default}}