commit | e6563256a4b3b9fee70ce3335d28406607c1faaf | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Jun 13 05:34:18 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Jun 13 05:34:18 2010 +0000 |
tree | c5f2b898021288353eed255be2b99ff636b9f524 | |
parent | 0d15c5321a11a5fee53b17ca8e9e0d72d6192b23 [diff] [blame] |
Allow an asm label specifier on C++ methods, like GCC does. Patch by David Majnemer! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105909 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/cxx-decl.cpp b/test/Parser/cxx-decl.cpp index ae004ce..e4c703c 100644 --- a/test/Parser/cxx-decl.cpp +++ b/test/Parser/cxx-decl.cpp
@@ -37,6 +37,10 @@ } }; +class asm_class_test { + void foo() __asm__("baz"); +}; + enum { fooenum = 1 }; struct a {