Home
last modified time | relevance | path

Searched refs:static_assert_arg_is_bool (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Dbool.cpp24 void static_assert_arg_is_bool(T x) { in static_assert_arg_is_bool() function
30static_assert_arg_is_bool(n && 4); // expected-warning {{use of logical '&&' with constant operan… in test2()
33static_assert_arg_is_bool(n || 5); // expected-warning {{use of logical '||' with constant operan… in test2()