diff options
Diffstat (limited to 'test/SemaCXX/trivial-destructor.cpp')
-rw-r--r-- | test/SemaCXX/trivial-destructor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/SemaCXX/trivial-destructor.cpp b/test/SemaCXX/trivial-destructor.cpp index db415cf9050a8..d3acec6284f5d 100644 --- a/test/SemaCXX/trivial-destructor.cpp +++ b/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!"); |