Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -fms-extensions |
Steve Naroff | db5f7d7 | 2008-02-08 03:36:19 +0000 | [diff] [blame] | 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 | 8c099c3 | 2008-02-08 18:01:27 +0000 | [diff] [blame] | 8 | void t3(void) { __asm M2 0x2c } |
Mike Stump | 18f4196 | 2009-12-11 00:10:15 +0000 | [diff] [blame] | 9 | void* t4(void) { __asm mov eax, fs:[0x10] } |