mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
113ec35f7f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60048 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
188 B
C++
10 lines
188 B
C++
// Check that we can compile files of different types together.
|
|
// RUN: llvmc %s %p/test_data/together.c -o %t
|
|
// RUN: ./%t | grep hello
|
|
|
|
extern "C" void test();
|
|
|
|
int main() {
|
|
test();
|
|
}
|