Home
last modified time | relevance | path

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

/external/clang/test/SemaTemplate/
Dtemp_arg_nontype.cpp262 template <char C> struct enable_if_char { }; struct
263 …template <> struct enable_if_char<'a'> { typedef int type; }; // expected-note 5{{'enable_if_char<… struct
264 …void test_char_0() { enable_if_char<0>::type i; } // expected-error{{enable_if_char<'\x00'>'; did … in test_char_0()
265 …void test_char_b() { enable_if_char<'b'>::type i; } // expected-error{{enable_if_char<'b'>'; did y… in test_char_b()
266 …void test_char_possibly_negative() { enable_if_char<'\x02'>::type i; } // expected-error{{enable_i… in test_char_possibly_negative()
267 …void test_char_single_quote() { enable_if_char<'\''>::type i; } // expected-error{{enable_if_char<… in test_char_single_quote()
268 …void test_char_backslash() { enable_if_char<'\\'>::type i; } // expected-error{{enable_if_char<'\\… in test_char_backslash()