]> granicus.if.org Git - clang/commitdiff
Update expected warning in test case.
authorTed Kremenek <kremenek@apple.com>
Thu, 2 Apr 2009 02:52:13 +0000 (02:52 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 2 Apr 2009 02:52:13 +0000 (02:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68276 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/misc-ps.m

index 0ee47ce67db2dd1feefcab1d59d7d12924aad54e..fede2a2d136a1b2eb88274fba198a2895e8a2110 100644 (file)
@@ -107,7 +107,7 @@ void check_zero_sized_VLA(int x) {
 
 void check_uninit_sized_VLA() {
   int x;
-  int vla[x]; // expected-warning{{The expression used to specify the number of elements in the VLA 'vla' evaluates to an undefined or garbage value.}}
+  int vla[x]; // expected-warning{{The expression used to specify the number of elements in the variable-length array (VLA) 'vla' evaluates to an undefined or garbage value}}
 }
 
 // sizeof(void)