1 | // RUN: %clang_cc1 -x c++ -std=c++11 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s |
---|---|
2 | |
3 | int foo() { |
4 | // CHECK: ret i32 1 |
5 | return alignof(__unaligned int); |
6 | } |
7 |
1 | // RUN: %clang_cc1 -x c++ -std=c++11 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s |
---|---|
2 | |
3 | int foo() { |
4 | // CHECK: ret i32 1 |
5 | return alignof(__unaligned int); |
6 | } |
7 |