blob: 250e3222564d8f6c9f8c57fb596a625d52b73dc8 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -verify -fms-extensions
Steve Naroff03d6bc62008-02-08 03:36:19 +00002
3#define M __asm int 0x2c
4#define M2 int
5
6void t1(void) { M }
7void t2(void) { __asm int 0x2c }
Steve Naroff36280972008-02-08 18:01:27 +00008void t3(void) { __asm M2 0x2c }
Mike Stump23b72172009-12-11 00:10:15 +00009void* t4(void) { __asm mov eax, fs:[0x10] }