summaryrefslogtreecommitdiff
path: root/test/Sema/unaligned-qualifier.c
blob: 3a66c4ffbb3b2e4676841f304063b03c3660d1b0 (plain)
1
2
3
4
// RUN: %clang_cc1 %s -verify -fsyntax-only -fms-extensions

int __unaligned * p1; // expected-note {{previous definition is here}}
int * p1; // expected-error {{redefinition of 'p1' with a different type: 'int *' vs '__unaligned int *'}}