summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/drs/dr0xx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/drs/dr0xx.cpp')
-rw-r--r--clang/test/CXX/drs/dr0xx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/drs/dr0xx.cpp b/clang/test/CXX/drs/dr0xx.cpp
index 781c1883ff8..011b4201b0b 100644
--- a/clang/test/CXX/drs/dr0xx.cpp
+++ b/clang/test/CXX/drs/dr0xx.cpp
@@ -823,7 +823,7 @@ namespace dr70 { // dr70: yes
namespace dr73 { // dr73: no
// The resolution to dr73 is unworkable. Consider:
int a, b;
- static_assert(&a + 1 != &b, "");
+ static_assert(&a + 1 != &b, ""); // expected-error {{not an integral constant expression}}
}
#endif
OpenPOWER on IntegriCloud