[PATCH] D39810: [python] [tests] Fix test_linkage for unique external linkage
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 11 12:01:50 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL317986: [python] [tests] Fix test_linkage for unique external linkage (authored by mgorny).
Changed prior to commit:
https://reviews.llvm.org/D39810?vs=122575&id=122590#toc
Repository:
rL LLVM
https://reviews.llvm.org/D39810
Files:
cfe/trunk/bindings/python/tests/cindex/test_linkage.py
Index: cfe/trunk/bindings/python/tests/cindex/test_linkage.py
===================================================================
--- cfe/trunk/bindings/python/tests/cindex/test_linkage.py
+++ cfe/trunk/bindings/python/tests/cindex/test_linkage.py
@@ -15,7 +15,8 @@
tu = get_tu("""
void foo() { int no_linkage; }
static int internal;
-namespace { extern int unique_external; }
+namespace { struct unique_external_type {} }
+unique_external_type unique_external;
extern int external;
""", lang = 'cpp')
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39810.122590.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171111/990666b1/attachment.bin>
More information about the cfe-commits
mailing list