mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
a6ff73a905
Bring back the testcase dropped in 1e6303e60ca5af4fbe7ca728572fd65666a98271 and get it passing by checking explicitly for `ptr*` in LLParser. Uses `Type::isOpaquePointerTy()` from ad4bb8280952c2cacf497e30560ee94c119b36e0. Differential Revision: https://reviews.llvm.org/D104938
8 lines
176 B
LLVM
8 lines
176 B
LLVM
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
|
|
|
|
; CHECK: ptr* is invalid - use ptr instead
|
|
define void @f(ptr %a) {
|
|
%b = bitcast ptr %a to ptr*
|
|
ret void
|
|
}
|