Summary: "ptr" in inline asm
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-03-10 13:13:12 PST ---
D2 code:

void main() {
    uint u;
    uint* ptr = &u;
    asm {
        rol [ptr], 8;

With DMD 2.052 it generates an error message that can't be understood and
wastes time of the programmer, so I suggest to improve it:

test.d(5): ] expected instead of 'ptr'

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to