llvm-for-llvmta/tools/clang/test/CodeGenCXX/odr-use-lookahead.cpp

11 lines
198 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm-only %s
namespace PR43080 {
int f(int i) { return sizeof i<i; }
}
namespace PR42861 {
const unsigned long s = alignof(int);
void foo() { alignas(s) int j; }
}