1// RUN: %clang -fsanitize=unreachable %s -O3 -o %t && %t 2>&1 | FileCheck %s
2
3int main(int, char **argv) {
4  // CHECK: unreachable.cpp:5:3: runtime error: execution reached a __builtin_unreachable() call
5  __builtin_unreachable();
6}
7