blob: f952e4b410a0ad0765760ad07649dbf1060a68ee [file] [log] [blame]
Michael Han51d8c522013-01-24 16:46:58 +00001// RUN: %clang_cc1 %s -ast-print | FileCheck %s
2
3// FIXME: we need to fix the "BoolArgument<"IsMSDeclSpec">"
4// hack in Attr.td for attribute "Aligned".
5
6// CHECK: int x __attribute__((aligned(4, 0)));
7int x __attribute__((aligned(4)));
8
9// CHECK: int y __attribute__((align(4, 0)));
10int y __attribute__((align(4)));
11
12// CHECK: void foo() __attribute__((const));
13void foo() __attribute__((const));
14
15// CHECK: void bar() __attribute__((__const));
16void bar() __attribute__((__const));