Lines Matching refs:static_assert
6 static_assert(sizeof(__func__) == 4, "foo"); in foo()
7 static_assert(sizeof(__FUNCTION__) == 4, "foo"); in foo()
8 static_assert(sizeof(__PRETTY_FUNCTION__) == 11, "auto foo()"); in foo()
13 static_assert(sizeof(__func__) == 4, "bar"); in bar()
14 static_assert(sizeof(__FUNCTION__) == 4, "bar"); in bar()
15 static_assert(sizeof(__PRETTY_FUNCTION__) == 10, "int bar()"); in bar()
22 static_assert(sizeof(__func__) == 4, "baz"); in baz()
23 static_assert(sizeof(__FUNCTION__) == 4, "baz"); in baz()
24 static_assert(sizeof(__PRETTY_FUNCTION__) == 20, "int baz() [T = int]"); in baz()
27 static_assert(sizeof(__func__) == 11, "operator()"); in baz()
28 static_assert(sizeof(__FUNCTION__) == 11, "operator()"); in baz()
29 static_assert(sizeof(__PRETTY_FUNCTION__) == 50, in baz()
36 static_assert(sizeof(__func__) == 27, "___Z3bazIiEiv_block_invoke"); in baz()
37 static_assert(sizeof(__FUNCTION__) == 27, "___Z3bazIiEiv_block_invoke"); in baz()
38 static_assert(sizeof(__PRETTY_FUNCTION__) == 27, "___Z3bazIiEiv_block_invoke"); in baz()
44 static_assert(sizeof(__func__) == 4, "baz"); in baz()
45 static_assert(sizeof(__FUNCTION__) == 4, "baz"); in baz()
46 static_assert(sizeof(__PRETTY_FUNCTION__) == 20, "int baz() [T = int]"); in baz()
53 static_assert(sizeof(__func__) == 5, "main"); in main()
54 static_assert(sizeof(__FUNCTION__) == 5, "main"); in main()
55 static_assert(sizeof(__PRETTY_FUNCTION__) == 11, "int main()"); in main()
58 static_assert(sizeof(__func__) == 11, "operator()"); in main()
59 static_assert(sizeof(__FUNCTION__) == 11, "operator()"); in main()
60 static_assert(sizeof(__PRETTY_FUNCTION__) == 51, in main()
67 static_assert(sizeof(__func__) == 20, "__main_block_invoke"); in main()
68 static_assert(sizeof(__FUNCTION__) == 20, "__main_block_invoke"); in main()
69 static_assert(sizeof(__PRETTY_FUNCTION__) == 20, "__main_block_invoke"); in main()
75 static_assert(sizeof(__func__) == 5, "main"); in main()
76 static_assert(sizeof(__FUNCTION__) == 5, "main"); in main()
77 static_assert(sizeof(__PRETTY_FUNCTION__) == 11, "int main()"); in main()
81 static_assert(sizeof(__func__) == 5, "main"); in main()
82 static_assert(sizeof(__FUNCTION__) == 5, "main"); in main()
83 static_assert(sizeof(__PRETTY_FUNCTION__) == 11, "int main()"); in main()
90 static_assert(sizeof(__func__) == 11, "operator()"); in main()
91 static_assert(sizeof(__FUNCTION__) == 11, "operator()"); in main()
92 static_assert(sizeof(__PRETTY_FUNCTION__) == 51, in main()