mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
2e9e0c2951
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50761 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
189 B
C++
10 lines
189 B
C++
// Check that we can compile files of different types together.
|
|
// RUN: llvmc2 %s %p/test_data/together.c -o %t
|
|
// RUN: ./%t | grep hello
|
|
|
|
extern "C" void test();
|
|
|
|
int main() {
|
|
test();
|
|
}
|