summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/unaligned.cpp
blob: 95549d3339f010cea6d62d26c6628469628f25f0 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -x c++ -std=c++11 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s

int foo() {
  // CHECK: ret i32 1
  return alignof(__unaligned int);
}