add opensuse toolchain support, patch by Ismail Donmez!
[clang/stm8.git] / test / SemaTemplate / alias-nested-nontag.cpp
blob1bb5ce336f90cbb244c084cc7b55eff95ac7d800
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %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}} \
6 expected-error {{C++ requires a type specifier}}