]> granicus.if.org Git - clang/commitdiff
[python] Fix warning in c-code inside testcase
authorAnders Waldenborg <anders@0x63.nu>
Wed, 2 May 2012 19:35:37 +0000 (19:35 +0000)
committerAnders Waldenborg <anders@0x63.nu>
Wed, 2 May 2012 19:35:37 +0000 (19:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156007 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/tests/cindex/test_type.py

index 03621f3017c7a93802c2446d13a483be04733b2f..9b5a16e785368ac87372a4158ad7a9bb3f99cbe0 100644 (file)
@@ -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')