Add a test that we don't store stale modtime in modules
authorBen Langmuir <blangmuir@apple.com>
Tue, 27 May 2014 19:57:48 +0000 (19:57 +0000)
committerBen Langmuir <blangmuir@apple.com>
Tue, 27 May 2014 19:57:48 +0000 (19:57 +0000)
commit6fa878d86db35393bd1a1084be6ee2c042acceb7
treea292c463adef8bd0ac0cf86e5fad57746a61743e
parent181ce5ee037c0ec227708d083b92202960d5ad69
Add a test that we don't store stale modtime in modules

The change from r209195 turned out to be important to avoid saving stale
modification time/expected size information in a module file when there
are 3 or more modules in a dependency chain and the bottom one is
rebuilt. So add a test for that.

rdar://problem/17038180

llvm-svn: 209682
clang/test/Modules/no-stale-modtime.m [new file with mode: 0644]