commit | d3a5918742623b1b0d52347945c745cae2e322bb | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Feb 12 05:48:04 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 12 05:48:04 2010 +0000 |
tree | 5d693b08248ded9a37a896d067377e0fcfb2f0c5 | |
parent | 65b4978f7f81a456425049d5f11ad0b65c7ce91d [diff] [blame] |
In C++, allow builtins to be referred to via qualified name lookup, e.g., ::__builtin_va_copy Fixes one of the Firefox issues in PR5511. llvm-svn: 95966
diff --git a/clang/test/SemaCXX/builtins.cpp b/clang/test/SemaCXX/builtins.cpp index a75b4f2e..568ba5d 100644 --- a/clang/test/SemaCXX/builtins.cpp +++ b/clang/test/SemaCXX/builtins.cpp
@@ -5,3 +5,5 @@ void f() { (void)CFStringRef(CFSTR("Hello")); } + +void a() { __builtin_va_list x, y; ::__builtin_va_copy(x, y); }