summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/trivial-destructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/trivial-destructor.cpp')
-rw-r--r--clang/test/SemaCXX/trivial-destructor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/trivial-destructor.cpp b/clang/test/SemaCXX/trivial-destructor.cpp
index db415cf9050..d3acec6284f 100644
--- a/clang/test/SemaCXX/trivial-destructor.cpp
+++ b/clang/test/SemaCXX/trivial-destructor.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
struct T1 {
};
static_assert(__has_trivial_destructor(T1), "T1 has trivial destructor!");
OpenPOWER on IntegriCloud