Skip to content

Commit 7c3f806

Browse files
committed
[FOLD] add tests
1 parent fde01e2 commit 7c3f806

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: %clang_cc1 -fsyntax-only -verify %s
2+
// expected-no-diagnostics
3+
4+
template<bool B>
5+
void f() {
6+
decltype(B) x = false;
7+
__typeof__(B) y = false;
8+
!x;
9+
!y;
10+
}

0 commit comments

Comments
 (0)