diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail19757_m64.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail19757_m64.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail19757_m64.d b/gcc/testsuite/gdc.test/fail_compilation/fail19757_m64.d new file mode 100644 index 00000000000..e1f9afc34c2 --- /dev/null +++ b/gcc/testsuite/gdc.test/fail_compilation/fail19757_m64.d @@ -0,0 +1,9 @@ +// REQUIRED_ARGS: -m64 +/* +TEST_OUTPUT: +--- +fail_compilation/fail19757_m64.d(9): Error: cannot implicitly convert expression `"oops"` of type `string` to `ulong` +--- +*/ + +auto s = new string("oops"); |