Steve Naroff | 03d6bc6 | 2008-02-08 03:36:19 +0000 | [diff] [blame] | 1 | // RUN: clang %s -verify -fms-extensions |
2 | |||||
3 | #define M __asm int 0x2c | ||||
4 | #define M2 int | ||||
5 | |||||
6 | void t1(void) { M } | ||||
7 | void t2(void) { __asm int 0x2c } | ||||
Steve Naroff | 3628097 | 2008-02-08 18:01:27 +0000 | [diff] [blame] | 8 | void t3(void) { __asm M2 0x2c } |
Steve Naroff | 03d6bc6 | 2008-02-08 03:36:19 +0000 | [diff] [blame] | 9 |