aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/in_pack_c4.c
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2024-10-04 12:01:38 +1000
committerNathaniel Shead <nathanieloshead@gmail.com>2024-10-04 20:30:04 +1000
commit247643c7e21b087e6c93b8b8d49b4268bf84b03b (patch)
treea87f2eb8832ba8b9d7aecfe9e1bf7bea0f679ad0 /libgfortran/generated/in_pack_c4.c
parent6a1e109158940ce3a2d1ceed3e1b614ea6c9a2de (diff)
downloadgcc-247643c7e21b087e6c93b8b8d49b4268bf84b03b.zip
gcc-247643c7e21b087e6c93b8b8d49b4268bf84b03b.tar.gz
gcc-247643c7e21b087e6c93b8b8d49b4268bf84b03b.tar.bz2
c++: Allow references to internal-linkage vars in C++11 [PR113266]
[temp.arg.nontype] changed in C++11 to allow naming internal-linkage variables and functions. We currently already handle internal-linkage functions, but variables were missed; this patch updates this. PR c++/113266 PR c++/116911 gcc/cp/ChangeLog: * parser.cc (cp_parser_template_argument): Allow internal-linkage variables since C++11. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/nontype6.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'libgfortran/generated/in_pack_c4.c')
0 files changed, 0 insertions, 0 deletions