Changed all of these tests to be TestRunner tests (or, at least they can be
[oota-llvm.git] / test / Transforms / DSAnalysis / recursion.ll
1 ; RUN: analyze %s -tddatastructure
2
3 implementation   ; Functions:
4
5 declare void %__main()
6
7 void %A(int* %L) {
8 bb0:            ; No predecessors!
9         call void %B( int* %L )
10         call void %A( int* %L )
11         ret void
12 }
13
14 void %B(int* %L) {
15 bb0:            ; No predecessors!
16         call void %A( int* %L )
17         ret void
18 }
19
20 void %main() {
21 bb0:            ; No predecessors!
22         call void %__main( )
23         call void %A( int* null )
24         ret void
25 }
26