https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124200
--- Comment #5 from Thomas Berger <loki at loki dot codes> --- Created attachment 63776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63776&action=edit tested/working impl Your patch was mostly working @Nathaniel, i only had to add some deduplication logic for function decls. As i only changed a view lines, i can't really take the credit for it, so patch here first. I also added your example as a testcase. While relfection tests in essence, we need the modules.exp to run those.
