diff options
Diffstat (limited to 'test/Sema/return.cpp')
-rw-r--r-- | test/Sema/return.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/Sema/return.cpp b/test/Sema/return.cpp deleted file mode 100644 index 754bc986b3..0000000000 --- a/test/Sema/return.cpp +++ /dev/null @@ -1,10 +0,0 @@ -// RUN: %clang %s -fsyntax-only -Wreturn-type - -struct C { - C() { - return 42; // expected-warning {{constructor 'C' should not return a value}} - } - ~C() { - return 42; // expected-warning {{destructor '~C' should not return a value}} - } -}; |