dmd/compiler/test/fail_compilation/fail19076.d
Nick Treleaven 56b14c11ff
Show type location for 'no property' error (#15586)
* Show type location for 'no property' error

* Remove local path from test output
2023-09-08 16:44:42 +03:00

12 lines
326 B
Makefile

/*
TEST_OUTPUT:
---
fail_compilation/fail19076.d(12): Error: no property `V` for type `fail19076.I`
fail_compilation/fail19076.d(11): interface `I` defined here
fail_compilation/fail19076.d(12): Error: `(I).V` cannot be resolved
---
*/
interface P { }
interface I : P { }
auto F = __traits(getVirtualMethods, I, "V");