[pulse] Add FN tests to impurity

Reviewed By: jvillard

Differential Revision: D20251912

fbshipit-source-id: 623ab6ae5
master
Ezgi Çiçek 5 years ago committed by Facebook Github Bot
parent c0d3a5ebee
commit bb5cdf9b97

@ -81,4 +81,10 @@ class PurityModeled {
void list_set_impure(ArrayList<String> list) {
list.set(0, "e");
}
void timing_call_in_loop_impure_FN() {
for (int i = 0; i < 10; i++) {
System.nanoTime();
}
}
}

Loading…
Cancel
Save