summaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/2008-02-18-IntPointerCrash.ll
blob: a5728a18f44d4cce78d6b9684627556ef968f972 (plain)
1
2
3
4
5
6
; RUN: not llvm-as %s 2>&1 | grep "integer constant must have integer type"
; PR2060

define ptr @foo() {
       ret ptr 0
}