cxx-as-c.c 196 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 // RUN: %clang_cc1 %s -verify // PR36157 struct Foo { Foo(int n) : n_(n) {} // expected-error 1+{{}} expected-warning 1+{{}} private: int n; }; int main() { Foo f; } // expected-error 1+{{}}