blob: 8f86b9f8afc4286c48f19aa88a97f455e92a843d [file] [log] [blame]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:27: error: invalid use of parameter-only attribute on a function{{$}}
define void @test_byref() byref {
ret void
}