summaryrefslogtreecommitdiff
path: root/Tests/CxxDialect/use_typeof.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CxxDialect/use_typeof.cxx')
-rw-r--r--Tests/CxxDialect/use_typeof.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CxxDialect/use_typeof.cxx b/Tests/CxxDialect/use_typeof.cxx
new file mode 100644
index 0000000000..dabb61f4f1
--- /dev/null
+++ b/Tests/CxxDialect/use_typeof.cxx
@@ -0,0 +1,6 @@
+
+int main(int argc, char**)
+{
+ typeof(argc) ret = 0;
+ return ret;
+}