Fix template specialization unit tests

This commit is contained in:
Dustin Spicuzza
2020-12-30 02:53:36 -05:00
parent cd110bbe29
commit d97ed6c99c
6 changed files with 710 additions and 204 deletions

View File

@@ -433,10 +433,17 @@ def test_fn_template_ptr():
specialization=TemplateSpecialization(
args=[
TemplateArgument(
tokens=[
Token(value="Pointer"),
Token(value="*"),
]
arg=Pointer(
ptr_to=Type(
typename=PQName(
segments=[
NameSpecifier(
name="Pointer"
)
]
)
)
)
)
]
),
@@ -458,10 +465,17 @@ def test_fn_template_ptr():
specialization=TemplateSpecialization(
args=[
TemplateArgument(
tokens=[
Token(value="Pointer"),
Token(value="*"),
]
arg=Pointer(
ptr_to=Type(
typename=PQName(
segments=[
NameSpecifier(
name="Pointer"
)
]
)
)
)
)
]
),