blob: 7c24985b6c5b12ee4b2b9d8614495ae0e7e92373 [file] [log] [blame]
Steve Naroff03d6bc62008-02-08 03:36:19 +00001// RUN: clang %s -verify -fms-extensions
2
3#define M __asm int 0x2c
4#define M2 int
5
6void t1(void) { M }
7void t2(void) { __asm int 0x2c }
8// FIXME? We don't support fuzzy parsing line-oriented __asm's where the body is partially defined in a macro.
9void t3(void) { __asm M2 0x2c } // expected-error{{expected ';' after expression}} expected-warning{{expression result unused}}
10