summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/point.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-17 05:35:18 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-17 05:35:18 +0000
commit5d1bee253c045dcb6cf914d4b56fabe31e1e5f28 (patch)
tree453efb0bf85e754407eaca98267b219cf146f233 /clang/test/Modules/Inputs/point.h
parent1b4f1637fbcc9c72cf1c8e3836957f29c17b7b33 (diff)
downloadbcm5719-llvm-5d1bee253c045dcb6cf914d4b56fabe31e1e5f28.tar.gz
bcm5719-llvm-5d1bee253c045dcb6cf914d4b56fabe31e1e5f28.zip
When we load header file information from the external source (i.e.,
the AST reader), merge that header file information with whatever header file information we already have. Otherwise, we might forget something we already knew (e.g., that the header was #import'd already). llvm-svn: 139979
Diffstat (limited to 'clang/test/Modules/Inputs/point.h')
-rw-r--r--clang/test/Modules/Inputs/point.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/point.h b/clang/test/Modules/Inputs/point.h
new file mode 100644
index 00000000000..eab23d5867a
--- /dev/null
+++ b/clang/test/Modules/Inputs/point.h
@@ -0,0 +1,2 @@
+struct Point { int x, y; };
+
OpenPOWER on IntegriCloud