From f0c55418e2b09eaab37c820d3756cc1b4584d084 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 26 Apr 2017 19:24:09 +0000 Subject: Vendor import of clang trunk r301441: https://llvm.org/svn/llvm-project/cfe/trunk@301441 --- test/Analysis/uninit-const.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Analysis/uninit-const.cpp') 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}} } -- cgit v1.2.3