summaryrefslogtreecommitdiff
path: root/test/Analysis/uninit-const.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/uninit-const.cpp')
-rw-r--r--test/Analysis/uninit-const.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/uninit-const.cpp b/test/Analysis/uninit-const.cpp
index 75e932a77cedb..db969bfb67d62 100644
--- a/test/Analysis/uninit-const.cpp
+++ b/test/Analysis/uninit-const.cpp
@@ -122,7 +122,7 @@ void f1(void) {
}
void f_uninit(void) {
- int x;
+ int x; // expected-note {{'x' declared without an initial value}}
doStuff_uninit(&x); // expected-warning {{1st function call argument is a pointer to uninitialized value}}
// expected-note@-1 {{1st function call argument is a pointer to uninitialized value}}
}