#NEWLINE# def test_const_class_pointer( self ) : #NEWLINE# #INDENT# tokens = get_tokens ( 'const class Bar*' ) #NEWLINE# result = self . converter . create_return_type ( list ( tokens ) ) #NEWLINE# modifiers = [ 'const' , 'class' ] #NEWLINE# self . assertEqual ( Type ( 'Bar' , modifiers = modifiers , pointer = True ) , result )