mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-13 06:28:52 +03:00
16 lines
565 B
D
16 lines
565 B
D
// Test recognition of -cache commandline flag
|
|
|
|
// RUN: %ldc -cache=%T/cachedirectory %s -vv | FileCheck --check-prefix=FIRST %s \
|
|
// RUN: && %ldc -cache=%T/cachedirectory %s -vv | FileCheck --check-prefix=SECOND %s
|
|
|
|
|
|
// FIRST: Use IR-to-Object cache in {{.*}}cachedirectory
|
|
// Don't check whether the object is in the cache on the first run, because if this test is ran twice the cache will already be there.
|
|
|
|
// SECOND: Use IR-to-Object cache in {{.*}}cachedirectory
|
|
// SECOND: Cache object found!
|
|
// SECOND: SymLink output to cached object file
|
|
|
|
void main()
|
|
{
|
|
}
|