3
按照doc,我有這樣的程序:如何在D語言中使用用戶定義的屬性?
void main() {
@(3)
int var;
}
,但它只是不會編譯:
test.d(2): identifier expected after @, not (
test.d(2): basic type expected, not 3
test.d(2): no identifier for declarator int
test.d(2): semicolon expected, not '3'
test.d(2): found ')' when expecting ';' following statement