diff options
author | Jason Merrill <jason@redhat.com> | 2024-11-19 21:59:40 +0100 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-11-21 19:37:23 +0100 |
commit | 819f67a2f633d2000f09119f0e19b784ea0a4bd8 (patch) | |
tree | 07f117d0ca70b2ddb43d4bde1b55d4d9f6e85abf /gcc/doc/cpp.texi | |
parent | 74498be0e6041d2abcd17cf2c0eed6cb034ce6a3 (diff) | |
download | gcc-819f67a2f633d2000f09119f0e19b784ea0a4bd8.zip gcc-819f67a2f633d2000f09119f0e19b784ea0a4bd8.tar.gz gcc-819f67a2f633d2000f09119f0e19b784ea0a4bd8.tar.bz2 |
c++: inline variables and modules
We weren't writing out the definition of an inline variable, so the importer
either got an undefined symbol or 0.
gcc/cp/ChangeLog:
* module.cc (has_definition): Also true for inline vars.
gcc/testsuite/ChangeLog:
* g++.dg/modules/inline-1_a.C: New test.
* g++.dg/modules/inline-1_b.C: New test.
Diffstat (limited to 'gcc/doc/cpp.texi')
0 files changed, 0 insertions, 0 deletions