Skip to content

Commit c260e9c

Browse files
committed
[lldb][Test] Fix incorrect assertion on omitted template argument
This is just a missing cherry-pick of `a842f74056793d9ab41411aa343811368164e6a8`. The test was really asserting the wrong thing. The template argument shouldn’t be omitted. I don’t think we want to pull in the whole commit. So I’ll just adjust the test case. What I think happened is that independently, my cherry-picks to stable/20221013 for omitting default template arguments fixed this flawed test-case `e5d4d9d50c7782aba2bbb9670db9e0a19bfcedae`
1 parent ae4e14a commit c260e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/lang/cpp/complete-type-check/TestCppIsTypeComplete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_forward_declarations(self):
5151
# Record types without a defining declaration are not complete.
5252
self.assertPointeeIncomplete("FwdClass *", "fwd_class")
5353
self.assertPointeeIncomplete("FwdClassTypedef *", "fwd_class_typedef")
54-
self.assertPointeeIncomplete("FwdTemplateClass<> *", "fwd_template_class")
54+
self.assertPointeeIncomplete("FwdTemplateClass<int> *", "fwd_template_class")
5555

5656
# A pointer type is complete even when it points to an incomplete type.
5757
fwd_class_ptr = self.expect_expr("fwd_class", result_type="FwdClass *")

0 commit comments

Comments
 (0)