Run some preprocessor constants tests that were previously disabled.
These probably should have been enabled with 256e283fc3
This commit is contained in:
parent
9e2a12416c
commit
19fa79830d
6 changed files with 6 additions and 6 deletions
|
|
@ -36,7 +36,7 @@ void main() {
|
|||
static assert(is(char[] == typeof(CONST_STRING2())));
|
||||
|
||||
static assert(is(int == typeof(INT_AND_BOOL())));
|
||||
// static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_INT())));
|
||||
static assert(is(uint == typeof(INT_AND_UINT())));
|
||||
static assert(is(c_long == typeof(INT_AND_LONG())));
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ void main() {
|
|||
static assert(is(string == typeof(CONST_STRING2())));
|
||||
|
||||
static assert(is(int == typeof(INT_AND_BOOL())));
|
||||
// static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_INT())));
|
||||
static assert(is(uint == typeof(INT_AND_UINT())));
|
||||
static assert(is(c_long == typeof(INT_AND_LONG())));
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ void main() {
|
|||
static assert(is(char[] == typeof(CONST_STRING2())));
|
||||
|
||||
static assert(is(int == typeof(INT_AND_BOOL())));
|
||||
// static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_INT())));
|
||||
static assert(is(uint == typeof(INT_AND_UINT())));
|
||||
static assert(is(c_long == typeof(INT_AND_LONG())));
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ void main() {
|
|||
static assert(is(string == typeof(CONST_STRING2())));
|
||||
|
||||
static assert(is(int == typeof(INT_AND_BOOL())));
|
||||
// static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_CHAR())));
|
||||
static assert(is(int == typeof(INT_AND_INT())));
|
||||
static assert(is(uint == typeof(INT_AND_UINT())));
|
||||
static assert(is(c_long == typeof(INT_AND_LONG())));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue