summaryrefslogtreecommitdiff
path: root/llvm/test/Other/mixed-opaque-ptrs.ll
blob: 4c886d85be6d33becdfa2f07b27cf227849b8db2 (plain)
1
2
3
4
5
6
; RUN: not llvm-as -opaque-pointers=0 -disable-output %s 2>&1 | FileCheck %s
; CHECK: ptr type is only supported in -opaque-pointers mode
define void @f(i32*) {
	%a = alloca ptr
	ret void
}