[cfe-commits] r98276 - /cfe/trunk/test/Sema/missing-field-initializers.c
John McCall
rjmccall at apple.com
Thu Mar 11 11:33:57 PST 2010
Author: rjmccall
Date: Thu Mar 11 13:33:57 2010
New Revision: 98276
URL: http://llvm.org/viewvc/llvm-project?rev=98276&view=rev
Log:
Remember the PR number.
Modified:
cfe/trunk/test/Sema/missing-field-initializers.c
Modified: cfe/trunk/test/Sema/missing-field-initializers.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/missing-field-initializers.c?rev=98276&r1=98275&r2=98276&view=diff
==============================================================================
--- cfe/trunk/test/Sema/missing-field-initializers.c (original)
+++ cfe/trunk/test/Sema/missing-field-initializers.c Thu Mar 11 13:33:57 2010
@@ -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}}
More information about the cfe-commits
mailing list