diff options
Diffstat (limited to 'clang/test/Sema')
| -rw-r--r-- | clang/test/Sema/return.cpp | 10 | 
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/test/Sema/return.cpp b/clang/test/Sema/return.cpp deleted file mode 100644 index 754bc986b36..00000000000 --- a/clang/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}} -  } -};  | 

