mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Rename "TestObjectFiles" to "Inputs" (like the pattern for Clang tests)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
12
test/Object/Inputs/trivial.ll
Normal file
12
test/Object/Inputs/trivial.ll
Normal file
@@ -0,0 +1,12 @@
|
||||
@.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1
|
||||
|
||||
define i32 @main() nounwind {
|
||||
entry:
|
||||
%call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @.str, i32 0, i32 0)) nounwind
|
||||
tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
declare i32 @puts(i8* nocapture) nounwind
|
||||
|
||||
declare void @SomeOtherFunction(...)
|
Reference in New Issue
Block a user