diff options
Diffstat (limited to 'test/Modules/requires-gnuinlineasm.m')
-rw-r--r-- | test/Modules/requires-gnuinlineasm.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Modules/requires-gnuinlineasm.m b/test/Modules/requires-gnuinlineasm.m index 80b1b18d0742..e710b6bf8d4b 100644 --- a/test/Modules/requires-gnuinlineasm.m +++ b/test/Modules/requires-gnuinlineasm.m @@ -1,6 +1,7 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules \ // RUN: -fimplicit-module-maps -F %S/Inputs/GNUAsm %s \ +// RUN: -I %S/Inputs/GNUAsm \ // RUN: -fno-gnu-inline-asm -DNO_ASM_INLINE -verify // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules \ @@ -8,7 +9,8 @@ // RUN: -DASM_INLINE -verify #ifdef NO_ASM_INLINE -@import NeedsGNUInlineAsm.Asm; // expected-error{{module 'NeedsGNUInlineAsm.Asm' requires feature 'gnuinlineasm'}} +// expected-error@NeedsGNUInlineAsm.framework/module.map:4 {{module 'NeedsGNUInlineAsm.Asm' requires feature 'gnuinlineasm'}} +@import NeedsGNUInlineAsm.Asm; // expected-note {{module imported here}} #endif #ifdef ASM_INLINE |