diff options
Diffstat (limited to 'test/SemaCXX/ast-print.cpp')
-rw-r--r-- | test/SemaCXX/ast-print.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/SemaCXX/ast-print.cpp b/test/SemaCXX/ast-print.cpp index e0c154a0ec..0dad623d47 100644 --- a/test/SemaCXX/ast-print.cpp +++ b/test/SemaCXX/ast-print.cpp @@ -60,3 +60,7 @@ template <class S> void test7() S s( 1,2 ); } + +// CHECK: t.~T(); + +template <typename T> void test8(T t) { t.~T(); } |