summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/static-assert.cpp
blob: 53dc9a73805f6cad3125fefc329be342d686bf49 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify

static_assert(true, "");

void f() {
  static_assert(true, "");
}