blob: 317ba4d157446101d41f55041e1c990df1068d87 [file] [log] [blame]
Michael Han51d8c522013-01-24 16:46:58 +00001// RUN: %clang_cc1 %s -ast-print | FileCheck %s
2
3// FIXME: align attribute print
4
5// CHECK: int x __attribute__((aligned(4, 0)));
6int x __attribute__((aligned(4)));
7
8// CHECK: int y __attribute__((align(4, 0)));
9int y __attribute__((align(4)));
10
11// CHECK: void foo() __attribute__((const));
12void foo() __attribute__((const));
13
14// CHECK: void bar() __attribute__((__const));
15void bar() __attribute__((__const));