blob: 2113949f237bec117e09f9b47fd71098a9c6e0bd [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc %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] }