summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/invalid-struct-init.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-23 23:17:07 +0000
committerChris Lattner <sabre@nondot.org>2008-11-23 23:17:07 +0000
commit03c4041cb517a709d0ef514731124690d2a485b8 (patch)
tree7b1202850dfb3b17b12512098936752e701c3f86 /clang/test/Sema/invalid-struct-init.c
parent0369c57ac6794c82ef3b35f2e6cae9e46debc4f7 (diff)
downloadbcm5719-llvm-03c4041cb517a709d0ef514731124690d2a485b8.tar.gz
bcm5719-llvm-03c4041cb517a709d0ef514731124690d2a485b8.zip
make the 'to match this' diagnostic a note.
llvm-svn: 59921
Diffstat (limited to 'clang/test/Sema/invalid-struct-init.c')
-rw-r--r--clang/test/Sema/invalid-struct-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/invalid-struct-init.c b/clang/test/Sema/invalid-struct-init.c
index a3dc687acb7..fb965926943 100644
--- a/clang/test/Sema/invalid-struct-init.c
+++ b/clang/test/Sema/invalid-struct-init.c
@@ -15,7 +15,7 @@ static void zm_info_pcre(zend_module_entry *zend_module ) { }
static int zm_startup_pcre(int type, int module_number ) { }
static int zm_shutdown_pcre(int type, int module_number ) {
- zend_function_entry pcre_functions[] = {{ }; // expected-error{{expected '}'}} expected-error{{to match this '{'}}
+ zend_function_entry pcre_functions[] = {{ }; // expected-error{{expected '}'}} expected-note {{to match this '{'}}
zend_module_entry pcre_module_entry = {
sizeof(zend_module_entry), 20071006, 0, 0, ((void *)0), ((void *)0),
"pcre", pcre_functions, zm_startup_pcre, zm_shutdown_pcre, ((void *)0),
OpenPOWER on IntegriCloud