mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-28 07:49:01 -04:00

the linkage of functions and variables while merging declarations from modules, and we don't necessarily have enough of the rest of the AST loaded at that point to allow us to compute linkage, so serialize it instead. llvm-svn: 174943
9 lines
229 B
C++
9 lines
229 B
C++
// 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_linkage_cache;
|
|
|
|
T x; // expected-error {{unknown type name 'T'}}
|
|
D::U<int> u;
|
|
bool b = f(u);
|