New test.
authorDevang Patel <dpatel@apple.com>
Tue, 5 Jun 2007 20:23:20 +0000 (20:23 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 5 Jun 2007 20:23:20 +0000 (20:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37438 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/2007-06-05-PassID.ll [new file with mode: 0644]

diff --git a/test/Other/2007-06-05-PassID.ll b/test/Other/2007-06-05-PassID.ll
new file mode 100644 (file)
index 0000000..25923a5
--- /dev/null
@@ -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
+}
+