summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/ms-fuzzy-asm.c
blob: 9ace6569348e96f37ba4b3d717cea68c7bd8ef0d (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 %s -verify -fms-extensions
// XFAIL: *

#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] }
OpenPOWER on IntegriCloud