commit | 9bbcf09431cd203239de81b07f948c9537591e6d | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Oct 16 18:24:11 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Oct 16 18:24:11 2004 +0000 |
tree | 2710d451be82f0685a6a02414ed69646b287fbca | |
parent | 9270efcc5fe730b6af7caf4857bdcf0193dcf5b7 [diff] [blame] |
testcases for undefined and unreachable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17058 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Feature/undefined.ll b/test/Feature/undefined.ll new file mode 100644 index 0000000..a71b906 --- /dev/null +++ b/test/Feature/undefined.ll
@@ -0,0 +1,15 @@ + +%X = global int undef + +implementation + +declare int "atoi"(sbyte *) + +int %test() { + ret int undef +} + +int %test2() { + %X = add int undef, 1 + ret int %X +}