summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authorAnders Waldenborg <anders@0x63.nu>2012-05-02 19:35:37 +0000
committerAnders Waldenborg <anders@0x63.nu>2012-05-02 19:35:37 +0000
commite1f61c02bfa4dbff00a338e8ea814e014427dba6 (patch)
treea299c51409269363d66cb26f91c974b886364aad /bindings/python
parentf26efd79d1bd139641d0bb40842f908c67f041c2 (diff)
[python] Fix warning in c-code inside testcase
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/tests/cindex/test_type.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/tests/cindex/test_type.py b/bindings/python/tests/cindex/test_type.py
index 03621f3017..9b5a16e785 100644
--- a/bindings/python/tests/cindex/test_type.py
+++ b/bindings/python/tests/cindex/test_type.py
@@ -263,7 +263,7 @@ def test_is_volatile_qualified():
def test_is_restrict_qualified():
"""Ensure Type.is_restrict_qualified works."""
- tu = get_tu('struct s { void * restrict i; void * j };')
+ tu = get_tu('struct s { void * restrict i; void * j; };')
i = get_cursor(tu, 'i')
j = get_cursor(tu, 'j')