Debian Codegraph @

clang/test/SemaCXX/typeof.cpp

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 typeof_unqual(int) u = 12; // expected-error {{expected function body after function declarator}}
4 __typeof_unqual(int) _u = 12;
5 __typeof_unqual__(int) __u = 12;
6
7 namespace GH97646 {
8 template<bool B>
9 void f() {
10 __typeof__(B) x = false;
11 !x;
12 }
13 }