mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
3c30e6c653
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50734 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
235 B
C++
11 lines
235 B
C++
// Check that we can compile files of different types together.
|
|
// TOFIX: compiling files with same names should work.
|
|
// RUN: llvmc2 %s %p/together1.c -o %t
|
|
// RUN: ./%t | grep hello
|
|
|
|
extern "C" void test();
|
|
|
|
int main() {
|
|
test();
|
|
}
|