aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/taint-generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/taint-generic.c')
-rw-r--r--test/Analysis/taint-generic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Analysis/taint-generic.c b/test/Analysis/taint-generic.c
index eeec8869b0..9c99f908a8 100644
--- a/test/Analysis/taint-generic.c
+++ b/test/Analysis/taint-generic.c
@@ -39,7 +39,8 @@ void bufferScanfAssignment(int x) {
void scanfArg() {
int t;
- scanf("%d", t); // expected-warning {{Pointer argument is expected}}
+ scanf("%d", t); // expected-warning {{Pointer argument is expected}} \
+ // expected-warning {{conversion specifies type 'int *' but the argument has type 'int'}}
}
void bufferGetchar(int x) {