blob: e1206edb30d543aaf76314f45aae29bc2d6337e2 (
plain) (
blame)
1
2
3
4
5
6
|
// 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
__builtin_unreachable();
}
|