MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / faildottypeinfo.d
blob9b62c26edd02078ad60bdef5440f6be660c87b96
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/faildottypeinfo.d(12): Error: no property `typeinfo` for `0` of type `int`
5 fail_compilation/faildottypeinfo.d(13): Error: no property `typeinfo` for type `object.Object`
6 $p:druntime/import/object.d$($n$): class `Object` defined here
7 ---
8 */
10 void main()
12 auto x = 0.typeinfo;
13 auto y = Object.typeinfo;