MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / no_TypeInfo.d
blob78056fc09b195ffaafa55bc59b7d066c2fd03a4e
1 /*
2 DFLAGS:
3 REQUIRED_ARGS: -c
4 EXTRA_SOURCES: extra-files/minimal/object.d
5 TEST_OUTPUT:
6 ---
7 fail_compilation/no_TypeInfo.d(14): Error: `object.TypeInfo` could not be found, but is implicitly used
8 ---
9 */
11 void test()
13 int i;
14 auto ti = typeid(i);