freebsd-dev/test/Sema/ms-fuzzy-asm.c
2010-01-15 15:39:40 +00:00

10 lines
218 B
C

// RUN: %clang_cc1 %s -verify -fms-extensions
#define M __asm int 0x2c
#define M2 int
void t1(void) { M }
void t2(void) { __asm int 0x2c }
void t3(void) { __asm M2 0x2c }
void* t4(void) { __asm mov eax, fs:[0x10] }