projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make the X86 subtarget compute the basic target type: ELF, Cygwin, Darwin,
[oota-llvm.git]
/
test
/
Feature
/
undefined.ll
1
; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3
; RUN: diff %t1.ll %t2.ll
4
5
6
%X = global int undef
7
8
implementation
9
10
declare int "atoi"(sbyte *)
11
12
int %test() {
13
ret int undef
14
}
15
16
int %test2() {
17
%X = add int undef, 1
18
ret int %X
19
}