diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-14 15:38:59 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-14 15:38:59 +0000 |
commit | 3e0e33d7e5e6cafa2ef8403fe2822f9f6e51eb78 (patch) | |
tree | e5a01cb071363a785373c5a25db8444e89331055 /clang/test/CodeGenCXX/c-linkage.cpp | |
parent | e11095aff1db81f4bccb04b50df3f74b459dc81e (diff) | |
download | bcm5719-llvm-3e0e33d7e5e6cafa2ef8403fe2822f9f6e51eb78.tar.gz bcm5719-llvm-3e0e33d7e5e6cafa2ef8403fe2822f9f6e51eb78.zip |
Mangle extern "C" functions whose names are not simple identifiers.
llvm-svn: 175166
Diffstat (limited to 'clang/test/CodeGenCXX/c-linkage.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/c-linkage.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/c-linkage.cpp b/clang/test/CodeGenCXX/c-linkage.cpp index c31ad438602..cec9e282f69 100644 --- a/clang/test/CodeGenCXX/c-linkage.cpp +++ b/clang/test/CodeGenCXX/c-linkage.cpp @@ -22,3 +22,10 @@ extern "C" { test2_f(); } } + +extern "C" { + struct test3_s { + }; + bool operator==(const int& a, const test3_s& b) { + } +} |