diff --git a/infer/tests/codetoanalyze/java/impurity/PurityModeled.java b/infer/tests/codetoanalyze/java/impurity/PurityModeled.java index 7e68e6327..9ebcebff9 100644 --- a/infer/tests/codetoanalyze/java/impurity/PurityModeled.java +++ b/infer/tests/codetoanalyze/java/impurity/PurityModeled.java @@ -81,4 +81,10 @@ class PurityModeled { void list_set_impure(ArrayList list) { list.set(0, "e"); } + + void timing_call_in_loop_impure_FN() { + for (int i = 0; i < 10; i++) { + System.nanoTime(); + } + } }