| 1 |
; This test ensures that the translator does not crash |
| 2 |
; RUN: llvm-as %s -o %t.bc |
| 3 |
; RUN: llvm-spirv %t.bc -o %t.spv |
| 4 |
|
| 5 |
; ModuleID = 'test.bc' |
| 6 |
target triple = "spir64" |
| 7 |
|
| 8 |
declare dllexport void @test_func(i32) #0 |
| 9 |
|
| 10 |
attributes #0 = { "VCSLMSize"="0" } |