summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_func_identifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/cxx_func_identifier.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_func_identifier.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_func_identifier.cpp b/Tests/CompileFeatures/cxx_func_identifier.cpp
new file mode 100644
index 0000000..0c3595c
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_func_identifier.cpp
@@ -0,0 +1,6 @@
+
+void someFunc()
+{
+ bool b = sizeof(__func__);
+ (void)b;
+}