OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:test_static_assert
(Results
1 - 3
of
3
) sorted by null
/external/libcxx/test/libcxx/selftest/
test_macros.pass.cpp
25
#ifndef
TEST_STATIC_ASSERT
26
#error
TEST_STATIC_ASSERT
must be defined
44
TEST_STATIC_ASSERT
((is_same<MyType, int>::value), "is same");
47
void
test_static_assert
()
function
49
TEST_STATIC_ASSERT
((is_same<int, int>::value), "is same");
50
TEST_STATIC_ASSERT
((!is_same<int, long>::value), "not same");
57
test_static_assert
();
/external/clang/test/Analysis/
misc-ps-cxx0x.cpp
3
void
test_static_assert
() {
function
4
static_assert(sizeof(void *) == sizeof(void*), "
test_static_assert
");
/external/libcxx/test/support/
test_macros.h
71
# define
TEST_STATIC_ASSERT
(Expr, Msg) static_assert(Expr, Msg)
73
# define
TEST_STATIC_ASSERT
(Expr, Msg) \
Completed in 81 milliseconds