23 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s2 3#include <non-exist-header> // expected-error {{file not found}}4 5class S {};6 7template <typename T>8class E {9public:10 E(S* scope) {}11 S &getS();12};13 14class Z {15 private:16 static E<Z> e;17 static S& s();18};19 20E<Z> Z::e(&__UNKNOWN_ID__);21 22S& Z::s() { return Z::e.getS(); }23