[cfe-commits] r82096 - /cfe/trunk/test/CodeGenCXX/mangle.cpp
Anders Carlsson
andersca at mac.com
Wed Sep 16 16:53:19 PDT 2009
Author: andersca
Date: Wed Sep 16 18:53:19 2009
New Revision: 82096
URL: http://llvm.org/viewvc/llvm-project?rev=82096&view=rev
Log:
Add a simple const mangling test.
Modified:
cfe/trunk/test/CodeGenCXX/mangle.cpp
Modified: cfe/trunk/test/CodeGenCXX/mangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mangle.cpp?rev=82096&r1=82095&r2=82096&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/mangle.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/mangle.cpp Wed Sep 16 18:53:19 2009
@@ -83,5 +83,10 @@
// RUN: grep "_Z1fM1SKFvvE" %t | count 1 &&
void f(void (S::*)() const) {}
-// RUN: grep "_Z1fM1SFvvE" %t | count 1
+// RUN: grep "_Z1fM1SFvvE" %t | count 1 &&
void f(void (S::*)()) {}
+
+// RUN: grep "_Z1fi" %t | count 1 &&
+void f(const int) { }
+
+// RUN: true
More information about the cfe-commits
mailing list