diff --git a/clang/test/CXX/drs/dr20xx.cpp b/clang/test/CXX/drs/dr20xx.cpp --- a/clang/test/CXX/drs/dr20xx.cpp +++ b/clang/test/CXX/drs/dr20xx.cpp @@ -10,14 +10,13 @@ #define static_assert(...) _Static_assert(__VA_ARGS__) #endif -namespace dr2007 { // dr2007: partial +namespace dr2007 { // dr2007: 3.4 template struct A { typename T::error e; }; template struct B { }; B > b1; B > b2 = b1; int a = b2[0]; // expected-error {{does not provide a subscript operator}} -// FIXME: the following code shouldn't instantiate A. -// int b = (&b2)->foo; +int b = __builtin_addressof(b2)->foo; // expected-error {{no member}} } namespace dr2026 { // dr2026: 11 diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -11849,7 +11849,7 @@ 2007 CD6 Argument-dependent lookup for operator= - Partial + Clang 3.4 2008