aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/cxx-inline-namespace.cpp
blob: f67d43b6843a17bf14664f207925242e2b4d5e4c (plain) (blame)
1
2
3
4
5
6
7
8
9
// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify -std=c++11

@import cxx_inline_namespace;
@import cxx_inline_namespace_b;

T x; // expected-error {{unknown type name 'T'}}

X::Elaborated *p;