Clang Project

clang_source_code/test/Modules/cxx-inline-namespace.cpp
1// RUN: rm -rf %t
2// RUN: %clang_cc1 -x objective-c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11
3
4@import cxx_inline_namespace;
5@import cxx_inline_namespace_b;
6
7T x; // expected-error {{unknown type name 'T'}}
8
9X::Elaborated *p;
10