11 lines · cpp
1// RUN: %clang_cc1 -emit-llvm-only %s2 3namespace PR43080 {4 int f(int i) { return sizeof i<i; }5}6 7namespace PR42861 {8 const unsigned long s = alignof(int);9 void foo() { alignas(s) int j; }10}11 1// RUN: %clang_cc1 -emit-llvm-only %s2 3namespace PR43080 {4 int f(int i) { return sizeof i<i; }5}6 7namespace PR42861 {8 const unsigned long s = alignof(int);9 void foo() { alignas(s) int j; }10}11