diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail19911c.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail19911c.d | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail19911c.d b/gcc/testsuite/gdc.test/fail_compilation/fail19911c.d new file mode 100644 index 0000000..d1e954e --- /dev/null +++ b/gcc/testsuite/gdc.test/fail_compilation/fail19911c.d @@ -0,0 +1,17 @@ +/* +DFLAGS: +REQUIRED_ARGS: +TEST_OUTPUT: +--- +fail_compilation/fail19911c.d(15): Error: function `object.fun` `object.TypeInfo` could not be found, but is implicitly used in D-style variadic functions +--- +*/ + +module object; + +class Object { } +class TypeInfo_Tuple { } + +void fun(...) +{ +} |