blob: 799340d35dd2bb36f5ba2f5beedb8e6234549d78 [file] [log] [blame]
Dan Gohmanb36f9f82009-06-03 00:37:20 +00001; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -relocation-model=static | not grep lea
Evan Cheng6c9275c2009-06-02 20:09:31 +00002; RUN: llvm-as < %s | llc -mtriple=x86_64-pc-linux-gnu -relocation-model=static | not grep lea
3
4@v = external global i32, align 8
5@v_addr = external global i32*, align 8
6
7define void @t() nounwind optsize {
8 store i32* @v, i32** @v_addr, align 8
9 unreachable
10}