summaryrefslogtreecommitdiffstats
path: root/test/CXX/drs/dr19xx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/drs/dr19xx.cpp')
-rw-r--r--test/CXX/drs/dr19xx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CXX/drs/dr19xx.cpp b/test/CXX/drs/dr19xx.cpp
index e6cf337da0..a1e8c76435 100644
--- a/test/CXX/drs/dr19xx.cpp
+++ b/test/CXX/drs/dr19xx.cpp
@@ -84,6 +84,7 @@ namespace dr1940 { // dr1940: yes
static union {
static_assert(true, ""); // ok
static_assert(false, ""); // expected-error {{static_assert failed}}
+ int not_empty;
};
#endif
}