blob: 530e81f1a3ee7b280c473f11d96ed4bfce4bf349 [file] [log] [blame]
Nikita Popov90ec6df2021-09-04 12:18:52 +02001; RUN: not llvm-as < %s -opaque-pointers -disable-output 2>&1 | FileCheck %s
Duncan P. N. Exon Smith4506f612021-06-25 11:53:27 -07002
3; CHECK: ptr* is invalid - use ptr instead
4define void @f(ptr %a) {
5 %b = bitcast ptr %a to ptr*
6 ret void
7}