mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	testcase for PR918
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		
							
								
								
									
										11
									
								
								test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| ; RUN: llvm-as < %s | llc -march=c | not grep fixarray_array3 | ||||
| ; PR918 | ||||
|  | ||||
| %structtype_s = type { i32 } | ||||
| %fixarray_array3 = type [3 x %structtype_s] | ||||
|  | ||||
| define i32 %witness(%fixarray_array3* %p) { | ||||
|     %q = getelementptr %fixarray_array3* %p, i32 0, i32 0, i32 0 | ||||
|     %v = load i32* %q | ||||
|     ret i32 %v | ||||
| } | ||||
		Reference in New Issue
	
	Block a user