Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Frontend / fwarn-stack-size.c
blob7bffbbd5b0b36fba86834389c48482294c000caf
1 // RUN: %clang_cc1 -fwarn-stack-size=42 -emit-llvm -o - %s | FileCheck %s
2 void foo(void) {}
3 // CHECK: define {{.*}} @foo() [[ATTR:#[0-9]+]] {
4 // CHECK: attributes [[ATTR]] = {{.*}} "warn-stack-size"="42"