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 22 // static_assert_arg_is_bool(x) compiles only if x is a bool.
24 void static_assert_arg_is_bool(T x) { function
30 static_assert_arg_is_bool(n && 4); // expected-warning {{use of logical '&&' with constant operand}} \
33 static_assert_arg_is_bool(n || 5); // expected-warning {{use of logical '||' with constant operand}} \

Completed in 48 milliseconds