commit | b57791e5b40afa6691063c83d0e95c416fb19fde | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Oct 21 03:57:52 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Oct 21 03:57:52 2011 +0000 |
tree | d78816125dc3762c59239aa6630851f0c0b77ef3 | |
parent | 258f9a2c33b010ddeca6902012461cdd4d5f14ef [diff] [blame] |
Treat the Microsoft/Borland keyword "__except" as a context-sensitive keyword, because both libstdc++ and libc++ use "__except" as an identifier. Fixes <rdar://problem/10322555>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142636 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/MicrosoftExtensions.cpp b/test/SemaCXX/MicrosoftExtensions.cpp index ddf5d9d..62f4f61 100644 --- a/test/SemaCXX/MicrosoftExtensions.cpp +++ b/test/SemaCXX/MicrosoftExtensions.cpp
@@ -210,3 +210,6 @@ int array[__is_abstract(X)? 1 : -1]; }; + +void f() { int __except = 0; } +