Skip to content

Commit 7aec7ca

Browse files
committed
Add explicit triple to test_type.py.
Fixes on 32-bit hosts.
1 parent 0b39126 commit 7aec7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/bindings/python/tests/cindex/test_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ class Template : public A, public B, virtual C {
546546
Template<int> instance;
547547
int bar;
548548
"""
549-
tu = get_tu(source, lang="cpp")
549+
tu = get_tu(source, lang="cpp", flags=["--target=x86_64-linux-gnu"])
550550
cursor = get_cursor(tu, "instance")
551551
cursor_type = cursor.type
552552
cursor_type_decl = cursor_type.get_declaration()

0 commit comments

Comments
 (0)