Remember the PR number.

llvm-svn: 98276
This commit is contained in:
John McCall 2010-03-11 19:33:57 +00:00
parent e40b58ec2f
commit 6b0dcd9dd1
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify -Wmissing-field-initializers %s
// This was PR4808.
struct Foo { int a, b; };
struct Foo foo0 = { 1 }; // expected-warning {{missing field 'b' initializer}}