
    G/Phu                     ^   d dl Z d dlZd dlZddlmZ ej                             e j                    dk    d          ej                             ej	        ej
                  j        dk     d           G d	 d
ej                                          Zej                             e j                    dk    d          ej                             ej	        ej
                  j        dk     d          ej        j         G d dej                                                      ZdS )    N   )utilDarwinzVProne to error when run with numpy/f2py/tests on mac os, but not when run in isolation)reason   z32-bit builds are buggyc                   .    e Zd ZdZdZde de dZd ZdS )TestMultiline.pyf	multiline
python module z
    usercode '''
void foo(int* x) {
    char dummy = ';';
    *x = 42;
}
'''
    interface
        subroutine foo(x)
            intent(c) foo
            integer intent(out) :: x
        end subroutine foo
    end interface
end python module 
    c                 D    | j                                         dk    sJ d S N*   modulefooselfs    e/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numpy/f2py/tests/test_semicolon_split.pytest_multilinezTestMultiline.test_multiline%   %    {  B&&&&&&    N)__name__
__module____qualname__suffixmodule_namecoder    r   r   r	   r	      sW         FK    D"' ' ' ' 'r   r	   c                   .    e Zd ZdZdZde de dZd ZdS )TestCallstatementr
   callstatementr   aN  
    usercode '''
void foo(int* x) {
}
'''
    interface
        subroutine foo(x)
            intent(c) foo
            integer intent(out) :: x
            callprotoargument int*
            callstatement { &
                ; &
                x = 42; &
            }
        end subroutine foo
    end interface
end python module r   c                 D    | j                                         dk    sJ d S r   r   r   s    r   test_callstatementz$TestCallstatement.test_callstatementJ   r   r   N)r   r   r   r   r   r   r%   r    r   r   r"   r"   )   sW         F!K " #  D(' ' ' ' 'r   r"   )platformpytestnumpynp r   markskipifsystemdtypeintpitemsizeF2PyTestr	   slowr"   r    r   r   <module>r3      s               HO!$   
 BHRW"$   ' ' ' ' 'DM ' '	  '0 HO!$   
 BHRW"$    ' ' ' ' ' ' ' 	  ' ' 'r   