d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail25.d
blobabb795e04fbf7989dbfd61344c81bf44b7cc9840
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail25.d(14): Error: accessing non-static variable `yuiop` requires an instance of `Qwert`
5 ---
6 */
8 class Qwert
10 int yuiop;
12 static int asdfg()
14 return Qwert.yuiop + 105;