source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Assembler/unsized-recursive-type.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 209 bytes
Line 
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3; CHECK: base element of getelementptr must be sized
4
5%myTy = type { %myTy }
6define void @foo(%myTy* %p){
7  %0 = getelementptr %myTy, %myTy* %p, i32 0
8  ret void
9}
Note: See TracBrowser for help on using the repository browser.