[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / test / Assembler / invalid-opaque-ptr.ll
blob530e81f1a3ee7b280c473f11d96ed4bfce4bf349
1 ; RUN: not llvm-as < %s -opaque-pointers -disable-output 2>&1 | FileCheck %s
3 ; CHECK: ptr* is invalid - use ptr instead
4 define void @f(ptr %a) {
5     %b = bitcast ptr %a to ptr*
6     ret void