
type..." with "initializing <type> with an expression of type...", which reads better. Thanks to John for the improved wording. llvm-svn: 100873
5 lines
143 B
C
5 lines
143 B
C
// RUN: %clang_cc1 %s -verify -fsyntax-only
|
|
|
|
int a;
|
|
struct {int x;} x = a; // expected-error {{with an expression of incompatible type 'int'}}
|