diff options
Diffstat (limited to 'clang/test/CXX/drs/dr4xx.cpp')
-rw-r--r-- | clang/test/CXX/drs/dr4xx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CXX/drs/dr4xx.cpp b/clang/test/CXX/drs/dr4xx.cpp index 00393cc2e4c..8eeb7715cad 100644 --- a/clang/test/CXX/drs/dr4xx.cpp +++ b/clang/test/CXX/drs/dr4xx.cpp @@ -318,8 +318,8 @@ namespace dr420 { // dr420: yes q->~id<int>(); p->id<int>::~id<int>(); q->id<int>::~id<int>(); - p->template id<int>::~id<int>(); // expected-error {{'template' keyword not permitted here}} expected-error {{base type 'int' is not a struct}} - q->template id<int>::~id<int>(); // expected-error {{'template' keyword not permitted here}} expected-error {{base type 'int' is not a struct}} + p->template id<int>::~id<int>(); // OK since dr2292 + q->template id<int>::~id<int>(); // OK since dr2292 p->A::template id<int>::~id<int>(); q->A::template id<int>::~id<int>(); } |