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