Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

1
2
3
4
5
6
// RUN: %clang_cc1 -std=c++11 -verify %s

typedef int A alignas(4); // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}
template<int N> void f() {
  typedef int B alignas(N); // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}
}