commit | c6c91bc019ff7fa09f6570025ba011aad4c0d004 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Wed Apr 01 00:15:23 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Wed Apr 01 00:15:23 2009 +0000 |
tree | de590db0fff977cd35d8d309c2059fb378017e9b | |
parent | 8e5c2b8072f4409c7c0004331d1db9652d5209c0 [diff] [blame] |
Fix a mangling bug where functions with no arguments weren't getting the 'v' parameter specifier. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68162 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp index 855a2ae..7acb31c 100644 --- a/test/CodeGenCXX/mangle.cpp +++ b/test/CodeGenCXX/mangle.cpp
@@ -24,3 +24,5 @@ typedef struct { int a; } x,y; void f(y) { } +// RUN: grep _Z1fv %t | count 1 +void f() { }