Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaTemplate / alias-nested-nontag.cpp
blob2d0f0874e5e74403ac9623f7752fce7bee68b07d
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
3 template<typename T> using Id = T; // expected-note {{type alias template 'Id' declared here}}
4 struct U { static Id<int> V; };
5 Id<int> ::U::V; // expected-error {{type 'Id<int>' (aka 'int') cannot be used prior to '::' because it has no members}}