summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-pragma-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/FixIt/fixit-pragma-pack.c')
-rw-r--r--clang/test/FixIt/fixit-pragma-pack.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/FixIt/fixit-pragma-pack.c b/clang/test/FixIt/fixit-pragma-pack.c
new file mode 100644
index 00000000000..acab4a8bb43
--- /dev/null
+++ b/clang/test/FixIt/fixit-pragma-pack.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
+
+#pragma pack (push, 1)
+#pragma pack()
+// CHECK: fix-it:{{.*}}:{[[@LINE-1]]:14-[[@LINE-1]]:14}:"pop"
OpenPOWER on IntegriCloud