| commit | 0dd31fad8ce7009fbd50c75b9af8035e59b239b0 | [log] [tgz] |
|---|---|---|
| author | Jinseong Jeon <jsjeon@google.com> | Fri Jan 04 10:36:50 2019 -0800 |
| committer | Jinseong Jeon <jsjeon@google.com> | Fri Jan 04 10:36:50 2019 -0800 |
| tree | ac17f2635bdd419cfc8a6d5c5545d7008c28e706 | |
| parent | adb91d9cdbb4c8a5d4b1e964b5c4575f453d4260 [diff] |
Specify the target for @ForceInline. Change-Id: If8ba959ed0b727cb15fe9fb31fc13ff61a5bf4b4
diff --git a/src/test/java/com/android/tools/r8/ForceInline.java b/src/test/java/com/android/tools/r8/ForceInline.java index 4a74233..dfeace7 100644 --- a/src/test/java/com/android/tools/r8/ForceInline.java +++ b/src/test/java/com/android/tools/r8/ForceInline.java
@@ -3,5 +3,8 @@ // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8; -public @interface ForceInline { -} +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +@Target({ElementType.METHOD}) +public @interface ForceInline {}