summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/uninit-variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/uninit-variables.c')
-rw-r--r--clang/test/Sema/uninit-variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/uninit-variables.c b/clang/test/Sema/uninit-variables.c
index 330444bb5c4..ee3e88a49c8 100644
--- a/clang/test/Sema/uninit-variables.c
+++ b/clang/test/Sema/uninit-variables.c
@@ -92,7 +92,7 @@ void test14() {
}
void test15() {
- int x = x; // expected-warning{{variable 'x' is uninitialized when used within its own initialization}}
+ int x = x; // no-warning: signals intended lack of initialization.
}
// Don't warn in the following example; shows dataflow confluence.
OpenPOWER on IntegriCloud