#NEWLINE# def test_constant_of_unknown_size( ) : #NEWLINE# #INDENT# ffi = FFI ( ) #NEWLINE# ffi . cdef ( '\n        typedef ... opaque_t;\n        const opaque_t CONSTANT;\n    ' ) #NEWLINE# lib = verify ( ffi , 'test_constant_of_unknown_size' , 'typedef int opaque_t;const int CONSTANT = 42;' ) #NEWLINE# e = py . test . raises ( lib . error , getattr , lib , 'CONSTANT' ) #NEWLINE# assert ( str ( e . value ) == "constant 'CONSTANT' is of type 'opaque_t', whose size is not known" )