view clang/test/Sema/unaligned-qualifier.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
line wrap: on
line source

// 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 *'}}