blob: c8553a710a9a64d2b5158b26b5ae65c7eafef93e [file] [log] [blame]
# Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
# Before Lollipop (Art 5.1.1) Art/Dalvik failed on verification if an empty sparse switch payload
# was the last instruction in a method. This was originally reported as 19827056, and fixed in
# This test is copied from
.class public LTest;
.super Ljava/lang/Object;
.method public static run()V
.registers 2
const v0, 0
sparse-switch v0, :SparseSwitch
.end sparse-switch
.end method
.method public static main([Ljava/lang/String;)V
.locals 0
invoke-static {}, LTest;->run()V
.end method