-
-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Description
test.d:
struct Σ{}
void main(){
auto a = new Σ[](2);
}Results in:
$ ./ldc2-1.40.1-linux-x86_64/bin/ldmd2 -run test.d
./ldc2-1.40.1-linux-x86_64/bin/../import/core/internal/array/construction.d(375):4:67: error: unexpected token in argument list
jnc .L_D4core8internal5array12construction__T12_d_newarrayUTS2tt2ΣZQxFNaNbNembZAQv_Lcontinue
./ldc2-1.40.1-linux-x86_64/bin/../import/core/internal/array/construction.d(375):6:67: error: unexpected token in argument list
jmp .L_D4core8internal5array12construction__T12_d_newarrayUTS2tt2ΣZQxFNaNbNembZAQv__llvm_asm_end0
./ldc2-1.40.1-linux-x86_64/bin/../import/core/internal/array/construction.d(375):7:1: error: unknown directive
.L_D4core8internal5array12construction__T12_d_newarrayUTS2tt2ΣZQxFNaNbNembZAQv_Lcontinue:
./ldc2-1.40.1-linux-x86_64/bin/../import/core/internal/array/construction.d(375):10:67: error: unexpected token in argument list
jmp .L_D4core8internal5array12construction__T12_d_newarrayUTS2tt2ΣZQxFNaNbNembZAQv__llvm_asm_end0
./ldc2-1.40.1-linux-x86_64/bin/../import/core/internal/array/construction.d(375):11:1: error: unknown directive
.L_D4core8internal5array12construction__T12_d_newarrayUTS2tt2ΣZQxFNaNbNembZAQv__llvm_asm_end0:
This is a regression introduced between 1.35.0 and 1.36.0.
Metadata
Metadata
Assignees
Labels
No labels