================
@@ -250,3 +258,39 @@
 
 #if __has_embed("") // expected-error {{empty filename}}
 #endif
+
+//--- test2.c
+// expected-error@+4 {{missing ')' after '__has_embed'}} \
+   expected-error@+4 {{expected value in expression}} \
+   expected-note@+4 {{to match this '('}} \
+   expected-error@+4 {{unterminated conditional directive}}
----------------
AaronBallman wrote:

Please add the `#endif` to each of these and then you can remove all the 
unterminated diagnostics.

https://github.com/llvm/llvm-project/pull/163107
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to