summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-23 23:38:26 +0000
committerChris Lattner <sabre@nondot.org>2008-11-23 23:38:26 +0000
commitb2c8c55d8161d6e8d91a8aed76b0e24a7d16984c (patch)
treea387dbcef19fc4b6fc20b5db0e0089145363fb3d /test
parent1326a3dcbbf04b126396d3e1a739ee437ca4398c (diff)
downloadclang-b2c8c55d8161d6e8d91a8aed76b0e24a7d16984c.tar.gz
clean up -verify mode output. If the expected-error string is
mangled, report it using the diagnostics machinery instead of printf. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Sema/vla.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/vla.c b/test/Sema/vla.c
index 682d2fb266..cd57eac9a4 100644
--- a/test/Sema/vla.c
+++ b/test/Sema/vla.c
@@ -14,5 +14,5 @@ void f (unsigned int m)
}
// PR3048
-int x = sizeof(struct{char qq[x];}); // expected-error {{fields must have a constant size}}
+int x = sizeof(struct{char qq[x];}); // expected-error {{fields must have a constant size}