mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
15 lines
211 B
D
15 lines
211 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail12730a.d(13): Error: cannot subtract register
|
|
---
|
|
*/
|
|
// https://issues.dlang.org/show_bug.cgi?id=12730
|
|
|
|
void test()
|
|
{
|
|
asm
|
|
{
|
|
lea ECX, [EBX - EAX];
|
|
}
|
|
}
|