MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test15897.d
blobc911263718f6ed6788e43573a01495df470750ea
1 // REQUIRED_ARGS: -de
2 // EXTRA_FILES: imports/test15897.d
3 /*
4 TEST_OUTPUT:
5 ---
6 fail_compilation/test15897.d(20): Error: no property `create` for `cat` of type `imports.test15897.Cat`
7 fail_compilation/imports/test15897.d(4): class `Cat` defined here
8 ---
9 */
10 module test15897;
11 import imports.test15897;
13 class Animal
15 private void create() {}
18 void foo(Cat cat)
20 cat.create();