mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
21 lines
210 B
D
21 lines
210 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag8825.d(13): Error: undefined identifier `foo`
|
|
---
|
|
*/
|
|
|
|
template t(alias a){
|
|
alias int t;
|
|
}
|
|
|
|
void main(){
|
|
t!(foo // line 13
|
|
|
|
|
|
|
|
|
|
|
|
) i; // line 19
|
|
return;
|
|
}
|