Skip to content

Commit 3a86532

Browse files
committed
Name resolution may require further template instantiation
1 parent ea58b91 commit 3a86532

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

regression/cpp/Template_Instantiation3/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=0$

regression/systemc/Array3/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33
-DNO_IO -DNO_STRING
44
^EXIT=0$

src/cpp/cpp_typecheck_resolve.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,9 @@ exprt cpp_typecheck_resolvet::resolve(
15441544
{
15451545
typet instance=
15461546
disambiguate_template_classes(base_name, id_set, template_args);
1547+
1548+
cpp_typecheck.elaborate_class_template(instance);
1549+
15471550
identifiers.push_back(exprt(ID_type, instance));
15481551
}
15491552
else

0 commit comments

Comments
 (0)