brintos

brintos / llvm-project-archived public Read only

0
0
Text · 378 B · f8f97de Raw
12 lines · cpp
1// RUN: %clang_cc1 %s -verify -fsyntax-only2// PR48093// This test is primarily checking that this doesn't crash, not the particular4// diagnostics.5 6const template basic_istream<char>; // expected-error {{expected unqualified-id}}7 8namespace S {}9template <class X> class Y {10  void x() { S::template y<char>(1); } // expected-error {{no member named 'y' in namespace 'S'}}11};12