llvm-project
17 строк · 333.0 Байт
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");12int x;13
14//--- inline-asm.txt
15#include "inline-asm.cpp"16x = 10;17%quit18