]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/PCH/cxx-namespaces.cpp
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / PCH / cxx-namespaces.cpp
CommitLineData
223e47cc
LB
1// Test this without pch.
2// RUN: %clang_cc1 -include %S/cxx-namespaces.h -fsyntax-only -verify %s
3
4// Test with pch.
5// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-namespaces.h
6// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
7
8void m() {
9 N::x = 0;
10}