1 // REQUIRES: host-supports-jit, x86_64-linux 2 // UNSUPPORTED: system-aix 3 // 4 // RUN: rm -rf %t 5 // RUN: mkdir -p %t 6 // RUN: split-file %s %t 7 // 8 // RUN: cat %t/inline-asm.txt | clang-repl -Xcc="-I%t" 9 10 //--- inline-asm.cpp 11 __asm(".globl _ZSt21ios_base_library_initv"); 12 int x; 13 14 //--- inline-asm.txt 15 #include "inline-asm.cpp" 16 x = 10; 17 %quit 18