blob: ac74299c71c578caf6e98f30525124b7d93ee959 (
plain)
1
2
3
4
5
6
7
8
|
; RUN: not llvm-as %s -o /dev/null 2>%t
; RUN: FileCheck -input-file=%t %s
declare unnamed_addr i32 @zed()
// CHECK: error: only definitions can have unnamed_addr
// CHECK: declare unnamed_addr i32 @zed()
// CHECK: ^
|