invalid-init-diag.c 143 Bytes Raw Blame History Permalink 1 2 3 4 // RUN: %clang_cc1 %s -verify -fsyntax-only int a; struct {int x;} x = a; // expected-error {{with an expression of incompatible type 'int'}}