summaryrefslogtreecommitdiff
path: root/test/Parser/ms-inline-asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/ms-inline-asm.c')
-rw-r--r--test/Parser/ms-inline-asm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Parser/ms-inline-asm.c b/test/Parser/ms-inline-asm.c
index e3c392406957f..0170b2b84fa3e 100644
--- a/test/Parser/ms-inline-asm.c
+++ b/test/Parser/ms-inline-asm.c
@@ -7,9 +7,9 @@
#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] }
+void t2(void) { __asm int 2ch }
+void t3(void) { __asm M2 2ch }
+void t4(void) { __asm mov eax, fs:[10h] }
void t5() {
__asm {
int 0x2c ; } asm comments are fun! }{
@@ -26,7 +26,7 @@ int t6() {
void t7() {
__asm {
push ebx
- mov ebx, 0x07
+ mov ebx, 07h
pop ebx
}
}
@@ -54,7 +54,7 @@ void t12() {
__asm jmp label // expected-error {{use of undeclared label 'label'}}
}
void t13() {
- __asm m{o}v eax, ebx // expected-error {{expected identifier}} expected-error {{use of undeclared label '{o}v eax, ebx'}}
+ __asm m{o}v eax, ebx // expected-error {{unknown token in expression}}
}
int t_fail() { // expected-note {{to match this}}