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