diff options
Diffstat (limited to 'test/Parser/cxx-stmt.cpp')
-rw-r--r-- | test/Parser/cxx-stmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/cxx-stmt.cpp b/test/Parser/cxx-stmt.cpp index 3fd3e256a8..fdd573e6bf 100644 --- a/test/Parser/cxx-stmt.cpp +++ b/test/Parser/cxx-stmt.cpp @@ -52,3 +52,9 @@ void f4() { case Type: i = 7; break; // no error. } } + +// PR5500 +void f5() { + asm volatile ("":: :"memory"); + asm volatile ("": ::"memory"); +} |