llvm-project/clang/test/CodeGenCXX/static-assert.cpp

8 lines
124 B
C++

// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify
static_assert(true, "");
void f() {
static_assert(true, "");
}