[cfe-commits] r156007 - /cfe/trunk/bindings/python/tests/cindex/test_type.py

Anders Waldenborg anders at 0x63.nu
Wed May 2 12:35:37 PDT 2012


Author: andersg
Date: Wed May  2 14:35:37 2012
New Revision: 156007

URL: http://llvm.org/viewvc/llvm-project?rev=156007&view=rev
Log:
[python] Fix warning in c-code inside testcase

Modified:
    cfe/trunk/bindings/python/tests/cindex/test_type.py

Modified: cfe/trunk/bindings/python/tests/cindex/test_type.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/python/tests/cindex/test_type.py?rev=156007&r1=156006&r2=156007&view=diff
==============================================================================
--- cfe/trunk/bindings/python/tests/cindex/test_type.py (original)
+++ cfe/trunk/bindings/python/tests/cindex/test_type.py Wed May  2 14:35:37 2012
@@ -263,7 +263,7 @@
 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')





More information about the cfe-commits mailing list