commit | d7358a3a63e66aafc49f394613a3afe4403d7c6b | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Mar 11 19:33:57 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Mar 11 19:33:57 2010 +0000 |
tree | 38c6bf5b7c2fbd40fc94ef2dfa3dfa24cd170b84 | |
parent | 80639debfb2d90b2f1ffdbcd9a391f744cb0a393 [diff] |
Remember the PR number. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98276 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/missing-field-initializers.c b/test/Sema/missing-field-initializers.c index 0ceded0..8281914 100644 --- a/test/Sema/missing-field-initializers.c +++ b/test/Sema/missing-field-initializers.c
@@ -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}}