Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / externc-used-not-replaced.cpp
blob133b3a66c53f4c58341cf0b263af349ffc88e353
1 // RUN: %clang_cc1 -triple x86_64-windows -emit-llvm -o - %s | FileCheck %s
3 extern "C" {
4 const char a __attribute__((used)){};
7 // CHECK: @a = internal constant i8 0
8 // CHECK: @llvm.used = appending global [1 x ptr] [ptr @a]