summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/references.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/references.cpp')
-rw-r--r--test/SemaCXX/references.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/references.cpp b/test/SemaCXX/references.cpp
index 70d3799..028c690 100644
--- a/test/SemaCXX/references.cpp
+++ b/test/SemaCXX/references.cpp
@@ -136,4 +136,4 @@ namespace PR8608 {
}
// The following crashed trying to recursively evaluate the LValue.
-const int &do_not_crash = do_not_crash;
+const int &do_not_crash = do_not_crash; // expected-warning{{variable 'do_not_crash' is uninitialized when used within its own initialization}}
OpenPOWER on IntegriCloud