1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 %s
4 // expected-no-diagnostics
6 static_assert(!__is_pod(void), "");
7 static_assert(!__is_pod(int&), "");
8 static_assert(!__is_pod(int()), "");
9 static_assert(!__is_pod(int()&), "");
11 static_assert(!__is_trivially_copyable(void), "");
12 static_assert(!__is_trivially_copyable(int&), "");
13 static_assert(!__is_trivially_copyable(int()), "");
14 static_assert(!__is_trivially_copyable(int()&), "");
16 static_assert(!__is_trivially_relocatable(void), "");
17 static_assert(!__is_trivially_relocatable(int&), "");
18 static_assert(!__is_trivially_relocatable(int()), "");
19 static_assert(!__is_trivially_relocatable(int()&), "");