pandoc-3.1.1: test/command/8653.md
```
% pandoc -f rst -t native
.. role:: py:class(emphasis)
:py:class:`foo`
^D
[ Para [ Emph [ Str "foo" ] ] ]
```
```
% pandoc -f rst -t native
:py:class:`foo`
^D
[ Para
[ Code
( ""
, [ "interpreted-text" ]
, [ ( "role" , "py:class" ) ]
)
"foo"
]
]
```