llvm-project/llvm/test/Assembler/2008-02-18-IntPointerCrash.ll
Nikita Popov 75a479221b [Assembler] Convert tests to opaque pointers (NFC)
Some tests are removed because the error conditions can no longer
occur with opaque pointers.
2022-12-13 14:36:21 +01:00

7 lines
125 B
LLVM

; RUN: not llvm-as %s 2>&1 | grep "integer constant must have integer type"
; PR2060
define ptr @foo() {
ret ptr 0
}