Skip to content

Commit c89b969

Browse files
committed
fixup! [clang] Support __typeof_unqual__ in all C modes
Include more coverage for new test Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 4f9e79b commit c89b969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/SemaCXX/typeof_unqual.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -fsyntax-only -verify %s
2-
// expected-no-diagnostics
32

4-
__typeof_unqual__(int) u = 12;
3+
typeof_unqual(int) u = 12; // expected-error {{expected function body after function declarator}}
54
__typeof_unqual(int) _u = 12;
5+
__typeof_unqual__(int) __u = 12;

0 commit comments

Comments
 (0)