summaryrefslogtreecommitdiffstats
path: root/test/Sema/ms-fuzzy-asm.c
blob: 2113949f237bec117e09f9b47fd71098a9c6e0bd (plain)
1
2
3
4
5
6
7
8
9
// RUN: clang-cc %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] }
OpenPOWER on IntegriCloud