dmd/compiler/test/fail_compilation/fail6781.d
2022-07-09 18:53:07 +02:00

16 lines
379 B
D

/*
TEST_OUTPUT:
---
fail_compilation/fail6781.d(9): Error: undefined identifier `some_error`
fail_compilation/fail6781.d(14): Error: template instance `fail6781.C6781.makeSortedIndices.bug6781!(greater)` error instantiating
---
*/
void bug6781(alias xxx)() {
some_error;
}
struct C6781 {
void makeSortedIndices() {
int greater;
bug6781!greater();
}
}