This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #117855] Store CopFILEGV in a pad under ithreads
[perl5.git] / ext / XS-APItest / APItest.xs
index 8eaabdb..c0e18e5 100644 (file)
@@ -3387,6 +3387,13 @@ CODE:
 OUTPUT:
     RETVAL
 
+bool
+test_allocfilegv()
+CODE:
+    RETVAL = PL_filegvpad[allocfilegv(PL_defgv)] == PL_defgv;
+OUTPUT:
+    RETVAL
+
 #endif
 
 bool