diff options
Diffstat (limited to 'lib/ubsan/lit_tests/TestCases/Misc/missing_return.cpp')
-rw-r--r-- | lib/ubsan/lit_tests/TestCases/Misc/missing_return.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/ubsan/lit_tests/TestCases/Misc/missing_return.cpp b/lib/ubsan/lit_tests/TestCases/Misc/missing_return.cpp deleted file mode 100644 index 7da238e25dca..000000000000 --- a/lib/ubsan/lit_tests/TestCases/Misc/missing_return.cpp +++ /dev/null @@ -1,9 +0,0 @@ -// RUN: %clangxx -fsanitize=return %s -O3 -o %t && %t 2>&1 | FileCheck %s - -// CHECK: missing_return.cpp:4:5: runtime error: execution reached the end of a value-returning function without returning a value -int f() { -} - -int main(int, char **argv) { - return f(); -} |