]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix g++.dg/modules/adl-5
authorNathaniel Shead <nathanieloshead@gmail.com>
Tue, 11 Feb 2025 11:24:55 +0000 (22:24 +1100)
committerNathaniel Shead <nathanieloshead@gmail.com>
Tue, 11 Feb 2025 11:26:52 +0000 (22:26 +1100)
commit1bfab1dc79bef1f1120bda37556f2e372a2378f5
tree1565a4dcb95d36b025cceb517dbbd0e6323202e7
parentef83fae50d8f085fe8440bfa595875a2e2329871
testsuite: Fix g++.dg/modules/adl-5

This testcase wasn't running, because adl-5_a had the wrong extension.
adl-5_d should have been reporting an error because 'frob' is only
visible from within the 'hidden' module but this was missed.

gcc/testsuite/ChangeLog:

* g++.dg/modules/adl-5_a.c: Move to...
* g++.dg/modules/adl-5_a.C: ...here.
* g++.dg/modules/adl-5_d.C: Add errors.

Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
gcc/testsuite/g++.dg/modules/adl-5_a.C [moved from gcc/testsuite/g++.dg/modules/adl-5_a.c with 100% similarity]
gcc/testsuite/g++.dg/modules/adl-5_d.C