Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/faildottypeinfo.d

raw
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 */
9
10 void main()
11 {
12 auto x = 0.typeinfo;
13 auto y = Object.typeinfo;
14 }