| 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only -fms-extensions |
|---|---|
| 2 | |
| 3 | int __unaligned * p1; // expected-note {{previous definition is here}} |
| 4 | int * p1; // expected-error {{redefinition of 'p1' with a different type: 'int *' vs '__unaligned int *'}} |
| 5 |
| 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only -fms-extensions |
|---|---|
| 2 | |
| 3 | int __unaligned * p1; // expected-note {{previous definition is here}} |
| 4 | int * p1; // expected-error {{redefinition of 'p1' with a different type: 'int *' vs '__unaligned int *'}} |
| 5 |