1 | // RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | static_assert(true, ""); |
5 | |
6 | void f() { |
7 | static_assert(true, ""); |
8 | } |
9 |
1 | // RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | static_assert(true, ""); |
5 | |
6 | void f() { |
7 | static_assert(true, ""); |
8 | } |
9 |