forked from OSchip/llvm-project
7 lines
177 B
LLVM
7 lines
177 B
LLVM
|
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
||
|
|
||
|
; CHECK: <stdin>:[[@LINE+1]]:8: error: invalid use of parameter-only attribute{{$}}
|
||
|
define byref 8 i8* @test_byref() {
|
||
|
ret void
|
||
|
}
|