1 ; RUN: llc < %s -mtriple=x86_64--
2 ; RUN: llc < %s -mtriple=i686--
4 ; This test verifies that SelectionDAG can handle landingPad of token type and not crash LLVM.
6 define void @test() personality i32 (...)* @dummy_personality {
9 to label %return unwind label %unwind
11 unwind: ; preds = %entry
12 %lp = landingpad token
16 return: ; preds = %entry
22 declare i32 @dummy_personality(...)