aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/taint-diagnostic-visitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/taint-diagnostic-visitor.c')
-rw-r--r--clang/test/Analysis/taint-diagnostic-visitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/taint-diagnostic-visitor.c b/clang/test/Analysis/taint-diagnostic-visitor.c
index a3fa163..020e957 100644
--- a/clang/test/Analysis/taint-diagnostic-visitor.c
+++ b/clang/test/Analysis/taint-diagnostic-visitor.c
@@ -46,8 +46,8 @@ void taintDiagnosticVLA(void) {
scanf("%d", &x); // expected-note {{Value assigned to 'x'}}
// expected-note@-1 {{Taint originated here}}
// expected-note@-2 {{Taint propagated to the 2nd argument}}
- int vla[x]; // expected-warning {{Declared variable-length array (VLA) has tainted size}}
- // expected-note@-1 {{Declared variable-length array (VLA) has tainted size}}
+ int vla[x]; // expected-warning {{Declared variable-length array (VLA) has tainted}}
+ // expected-note@-1 {{Declared variable-length array (VLA) has tainted}}
}