Add a simple const mangling test.

llvm-svn: 82096
This commit is contained in:
Anders Carlsson 2009-09-16 23:53:19 +00:00
parent 1ff8299c67
commit b3e533d9d0
1 changed files with 6 additions and 1 deletions

View File

@ -83,5 +83,10 @@ struct S;
// 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