clang/test/Frontend/absolute-paths-symlinks.c
raw| 1 | // RUN: rm -rf %t |
| 2 | // RUN: mkdir %t |
| 3 | // RUN: cd %t |
| 4 | // RUN: cp %s test.c |
| 5 | // RUN: ln -sf test.c link.c |
| 6 | // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-absolute-paths link.c 2>&1 | FileCheck %s |
| 7 | |
| 8 | // Verify that -fdiagnostics-absolute-paths resolve symbolic links in |
| 9 | // diagnostics messages. |
| 10 | |
| 11 | // CHECK: test.c |
| 12 | // CHECK-SAME: error: unknown type name |
| 13 | This do not compile |
| 14 | |
| 15 | // Don't make symlinks on Windows. |
| 16 | // UNSUPPORTED: system-windows |