| // The purpose of this test is to verify that we produce relocations for |
| // references to functions. Failing to do so might cause pointer-to-function |
| // equality to fail if /INCREMENTAL links are used. |
| // RUN: llvm-mc -filetype=obj -incremental-linker-compatible -triple i686-pc-win32 %s | llvm-readobj -S - | FileCheck %s |
| // RUN: llvm-mc -filetype=obj -incremental-linker-compatible -triple x86_64-pc-win32 %s | llvm-readobj -S - | FileCheck %s |
| # =>This Inner Loop Header: Depth=1 |
| # =>This Inner Loop Header: Depth=1 |
| // CHECK: RelocationCount: 1 |