diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-13 05:34:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-13 05:34:18 +0000 |
commit | e6563256a4b3b9fee70ce3335d28406607c1faaf (patch) | |
tree | c5f2b898021288353eed255be2b99ff636b9f524 /test/Parser/cxx-decl.cpp | |
parent | 0d15c5321a11a5fee53b17ca8e9e0d72d6192b23 (diff) |
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
Diffstat (limited to 'test/Parser/cxx-decl.cpp')
-rw-r--r-- | test/Parser/cxx-decl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Parser/cxx-decl.cpp b/test/Parser/cxx-decl.cpp index ae004ce81c..e4c703c334 100644 --- a/test/Parser/cxx-decl.cpp +++ b/test/Parser/cxx-decl.cpp @@ -37,6 +37,10 @@ class someclass { } }; +class asm_class_test { + void foo() __asm__("baz"); +}; + enum { fooenum = 1 }; struct a { |