mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
15 lines
201 B
D
15 lines
201 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail12730b.d(13): Error: cannot negate register
|
|
---
|
|
*/
|
|
// https://issues.dlang.org/show_bug.cgi?id=12730
|
|
|
|
void test()
|
|
{
|
|
asm
|
|
{
|
|
mov ECX,-EAX;
|
|
}
|
|
}
|