about summary refs log tree commit diff
path: root/tests/ui/consts/const-extern-function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-extern-function.rs')
-rw-r--r--tests/ui/consts/const-extern-function.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/consts/const-extern-function.rs b/tests/ui/consts/const-extern-function.rs
index acc438189cb..7629d63266a 100644
--- a/tests/ui/consts/const-extern-function.rs
+++ b/tests/ui/consts/const-extern-function.rs
@@ -1,5 +1,7 @@
 //@ run-pass
+
 #![allow(non_upper_case_globals)]
+#![allow(unpredictable_function_pointer_comparisons)]
 
 extern "C" fn foopy() {}