aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-06-05 20:23:20 +0000
committerDevang Patel <dpatel@apple.com>2007-06-05 20:23:20 +0000
commite2c0c88e066701761e26b7bbe167657329d2fdfb (patch)
tree99f8b7761ad204acba94b39d39874e2c421fba67 /test/Other
parent5e148a37d3432f83ccc4dbebe08d4f1b4717034c (diff)
downloadexternal_llvm-e2c0c88e066701761e26b7bbe167657329d2fdfb.zip
external_llvm-e2c0c88e066701761e26b7bbe167657329d2fdfb.tar.gz
external_llvm-e2c0c88e066701761e26b7bbe167657329d2fdfb.tar.bz2
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/2007-06-05-PassID.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Other/2007-06-05-PassID.ll b/test/Other/2007-06-05-PassID.ll
new file mode 100644
index 0000000..25923a5
--- /dev/null
+++ b/test/Other/2007-06-05-PassID.ll
@@ -0,0 +1,11 @@
+;RUN: llvm-as < %s | opt -analyze -print-cfg-only -disable-output
+;PR 1497
+
+define void @foo() {
+entry:
+ br label %return
+
+return: ; preds = %entry
+ ret void
+}
+