summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/long_long.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/long_long.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/long_long.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/long_long.C b/gcc/testsuite/g++.dg/cpp0x/long_long.C
new file mode 100644
index 000000000..3ef710df4
--- /dev/null
+++ b/gcc/testsuite/g++.dg/cpp0x/long_long.C
@@ -0,0 +1,6 @@
+// { dg-options "-std=c++0x -pedantic" }
+
+void foo()
+{
+ long long x = 17;
+}