blob: b696c5cd98401ecdc4917e21cae407e668d876fc (
plain)
1
2
3
4
5
6
7
8
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
template<int N>
struct X {
struct __attribute__((__aligned__((N)))) Aligned { }; // expected-error{{'aligned' attribute requires integer constant}}
int __attribute__((__address_space__(N))) *ptr; // expected-error{{attribute requires 1 argument(s)}}
};
|