commit | 83dece57e3e3fd84dfd4299a89751e266e87c79d | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Feb 14 15:38:59 2013 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Feb 14 15:38:59 2013 +0000 |
tree | 522cb626996f477ee8c596b91d7bc7eb398109cf | |
parent | 9fc56f2636137fcde8acb38865555ed6c7b84dfd [diff] [blame] |
Mangle extern "C" functions whose names are not simple identifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175166 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/c-linkage.cpp b/test/CodeGenCXX/c-linkage.cpp index c31ad43..cec9e28 100644 --- a/test/CodeGenCXX/c-linkage.cpp +++ b/test/CodeGenCXX/c-linkage.cpp
@@ -22,3 +22,10 @@ test2_f(); } } + +extern "C" { + struct test3_s { + }; + bool operator==(const int& a, const test3_s& b) { + } +}