aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other/2009-09-14-function-elements.ll
blob: 883d76d10755f00da4716bf49a0f0b5fb5c98e03 (plain)
1
2
3
4
5
6
; RUN: not llvm-as %s -disable-output 2>/dev/null

; Arrays and structures with function types (not function pointers) are illegal.

@foo = external global [4 x i32 (i32)]
@bar = external global { i32 (i32) }