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