1 ; RUN: opt < %s -globalopt -S > %t
2 ; RUN: cat %t | grep foo1 | count 1
3 ; RUN: cat %t | grep foo2 | count 4
4 ; RUN: cat %t | grep bar1 | count 1
5 ; RUN: cat %t | grep bar2 | count 4
7 @foo1 = alias void ()* @foo2
8 @foo2 = alias weak void()* @bar1
9 @bar1 = alias void ()* @bar2