HomeSort by relevance Sort by last modified time
    Searched full:static_assert_arg_is_bool (Results 1 - 1 of 1) sorted by null

  /external/clang/test/SemaCXX/
bool.cpp 20 // static_assert_arg_is_bool(x) compiles only if x is a bool.
22 void static_assert_arg_is_bool(T x) { function
28 static_assert_arg_is_bool(n && 4); // expected-warning {{use of logical '&&' with constant operand}} \
31 static_assert_arg_is_bool(n || 5); // expected-warning {{use of logical '||' with constant operand}} \

Completed in 61 milliseconds