summaryrefslogtreecommitdiff
path: root/cc/cc_test.go
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2025-02-12 06:43:27 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-12 06:43:27 -0800
commitcfb576268173f49f711b0bedab05fe879c0a1621 (patch)
treeecc6b98d266a8acab38234b91750a9b7a68c158a /cc/cc_test.go
parentf572de9843a1c6510579d95d0812624d3feb04f3 (diff)
Reland "Bump the global default C standard to gnu23."
This reverts commit f572de9843a1c6510579d95d0812624d3feb04f3. Change-Id: I1926ee7fe96983d8902a3d9e3d7598f96c22bf07
Diffstat (limited to 'cc/cc_test.go')
-rw-r--r--cc/cc_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/cc_test.go b/cc/cc_test.go
index 98af7b655..2be4e48a5 100644
--- a/cc/cc_test.go
+++ b/cc/cc_test.go
@@ -2689,7 +2689,7 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
cppOnly := []string{"-fPIC", "${config.CommonGlobalCppflags}", "${config.DeviceGlobalCppflags}", "${config.ArmCppflags}"}
cflags := []string{"-Werror", "-std=candcpp"}
- cstd := []string{"-std=gnu17", "-std=conly"}
+ cstd := []string{"-std=gnu23", "-std=conly"}
cppstd := []string{"-std=gnu++20", "-std=cpp", "-fno-rtti"}
lastNDKFlags := []string{