Advertisement
BumbleBritches57

Minimally Testable `__func__` Check in Visual Studio

Mar 7th, 2018
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void 🦄(void) { // I tried with both Unicode and Mutli-Byte character sets and it appers to produce UTF-8 output both times
  4. printf("%s, Size: %zu", __func__, sizeof(__func__));
  5. }
  6.  
  7. int main()
  8. {
  9.     🦄();
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement