]> git.proxmox.com Git - rustc.git/blobdiff - src/compiler-rt/test/ubsan/TestCases/Misc/unreachable.cpp
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / test / ubsan / TestCases / Misc / unreachable.cpp
index ba760635e73ff238fd8d18c6ed85e815fb0dfde6..e1206edb30d543aaf76314f45aae29bc2d6337e2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clangxx -fsanitize=unreachable %s -O3 -o %t && %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx -fsanitize=unreachable %s -O3 -o %t && not %run %t 2>&1 | FileCheck %s
 
 int main(int, char **argv) {
   // CHECK: unreachable.cpp:5:3: runtime error: execution reached a __builtin_unreachable() call