llvm-for-llvmta/tools/clang/test/CodeGenCXX/static-assert.cpp

9 lines
151 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify
// expected-no-diagnostics
static_assert(true, "");
void f() {
static_assert(true, "");
}