MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / dip22a.d
blob661ebc33fa6788e1f83d8f1bcf301faa72565fbd
1 /*
2 EXTRA_FILES: imports/dip22a.d
3 TEST_OUTPUT:
4 ---
5 fail_compilation/dip22a.d(18): Error: no property `bar` for `new Klass` of type `imports.dip22a.Klass`
6 fail_compilation/imports/dip22a.d(3): class `Klass` defined here
7 fail_compilation/dip22a.d(19): Error: no property `bar` for `Struct()` of type `imports.dip22a.Struct`
8 fail_compilation/imports/dip22a.d(8): struct `Struct` defined here
9 fail_compilation/dip22a.d(20): Error: undefined identifier `bar` in module `imports.dip22a`
10 fail_compilation/dip22a.d(21): Error: no property `bar` for `Template!int` of type `void`
11 fail_compilation/dip22a.d(22): Error: no property `bar` for `12` of type `int`
12 ---
14 import imports.dip22a;
16 void test()
18 new Klass().bar();
19 Struct().bar();
20 imports.dip22a.bar();
21 Template!int.bar();
22 12.bar();